Promotic

GetString - method of the AdoRecordset object

Description:
Returns a AdoRecordset as a text string.
Syntax:
Variant GetString([Long format], [Long n], [Long coldel], [Long rowdel], [Long nullexpr])
Parameters:
format[optional] (Long) StringFormatEnum value that specifies the format when retrieving a AdoRecordset as a string.
2 - adClipString Delimits rows by the rowdel parameter, columns by the coldel parameter, and null values by the nullexpr parameter.
n[optional] (Long) The number of rows to be converted in the Recordset.
coldel[optional] (Long) If format is set to adClipString then it is a column separator. Otherwise it is the tab character.
rowdel[optional] (Long) If format is set to adClipString then it is a separator of rows. Otherwise it is the carriage return character.
nullexpr[optional] (Long) If format is set to adClipString then it is an expression used instead of a null value. Otherwise it is an empty string.
See also:
- AdoRecordset.Filter (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var sStr = oRs.GetString(2);
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.