<ADODB_Recordset>.Collect

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > ADODB > ADODB Module Classes > ADODB_Recordset > ADODB_Recordset Properties >

<ADODB_Recordset>.Collect

 

Description

 
Returns the value of a Field object. Value is automatically converted to string data type.

 

Syntax

 

GET

s = <ADODB_Recordset>.Collect(Name)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

Name

String


Field Name (the name of the column in the RecordSet)

 

Remarks

 

This property try to automatically convert original field data type into a string.

If requested field is not a string data field, this property automatically convert value from supported DataTypeEnum

 

Restrictions

 

See also

 

Examples