A list of products available on this site
Documentation for XtraMania's xtras
Prices and links to the online store
Xtras, PDFs, samples
Have a question? Ask us!
Contacts
Logo. www.xtramaina.com  
Home Search E-mail
ADOxtra Reference/rst.GetString()

rst.GetString()

Syntax

strData=rst.GetString(stringFormat,numRows,columnDelimiter,rowDelimiter,nullExpr)

Parameters

stringFormat
Integer value that specifies how recordset data should be converted to a string. It can be either VOID or adClipString (=2). In both cases method delimits rows by RowDelimiter, columns by ColumnDelimiter, and null values by NullExpr.

numRows
Optional. The number of rows to be converted in the Recordset. If numRows is not specified, or if it is greater than the total number of rows in the Recordset, then all the rows in the Recordset are converted.
  
columnDelimiter
String. Optional. A delimiter used between columns, if specified, otherwise the TAB character.
  
rowDelimiter
String. Optional. A delimiter used between rows, if specified, otherwise the CARRIAGE RETURN character.
  
nullExpr
String. Optional. An expression used in place of a null value, if specified, otherwise the empty string.

Returns

String
If operation competed successfully, this function returns the string representation of recordset data.

Description

Calls the GetString() method of the wrapped ADODB.Recordset object. Use it to get the string representation of recordset data.

Site homeSearchContact author © Eugene Shoustrov. www.xtramania.com