Specifies the data source for DataEnvironment and CursorAdapter objects to use. The DataEnvironment or CursorAdapter DataSourceType property determines the value of the corresponding DataSource property. Read/write at design time and run time. There are two versions of the syntax.
|
---|
DataEnvironment.DataSource [= DataSource] |
|
---|
CursorAdapter.DataSource [= DataSource] |
Return Value
-
DataSource
-
Specifies a reference to an existing data source of permissible data source types. DataSource acts only as a pointer to the actual data source, which must exist at run time.
The following table lists the values for DataSource, which depend on the value of the DataSourceType property.
DataSource
|
DataSourceType
|
Reference to a valid ActiveX Data Object (ADO) RecordSet object
|
"ADO"
|
Positive integer that represents or memory variable that contains a valid Open Database Connectivity (ODBC) connection handle
|
"ODBC"
|
Disregarded.
|
"Native", "XML", null (.NULL.), or empty string ("")
|
Remarks
See Also