Name
Recordset.GetString Method — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
SetVariant = recordset.GetString(StringFormat, NumRows, ColumnDelimiter, _RowDelimiter, NullExpr)
The GetString method returns the entire Recordset object as a String value.
Arguments
-
StringFormat(StringFormatEnum) Indicates the format of the returned Recordset in String form.
-
NumRows Optional. Indicates the number of rows to be converted to a String. If the value of this parameter is either missing or greater than the total number of records in the Recordset object, then all of the records are converted.
-
ColumnDelimeter Optional. Used only when the
StringFormatparameter is set toadClipString. Indicates the delimeter used between columns. The tab character is the default character.
-
RowDelimeter Optional. Used only when the
StringFormatparameter is set toadClipString. Indicates the delimeter used between rows. The carriage return character is the default character.
-
NullExpr Optional. Used only when the
StringFormatparameter is set toadClipString. Indicates the String used to replaceNullcharacters. The default for this parameter is the empty String.
Returns
Variant
Description
The GetString method converts the contents of the Recordset object to a String value.
See Also
StringFormatEnum Enumeration
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access