Specifies the command for retrieving data from the data source in the CursorAdapterВ DataSourceType property. Read/write at design time and run time.
CursorAdapter.SelectCmd [ = cCommand ] |
Return Value
- cCommand
-
Specifies a character string or expression that evaluates to a valid command string.
For XML data sources, cCommand should be one of the following:
-
An expression that evaluates to a valid XML source for the XMLTOCURSOR(В ) function. XMLTOCURSOR( ) retrieves the data.
-
An expression that evaluates to an XMLTable object. The XMLTableВ ToCursor method retrieves the data.
-
An expression that evaluates to a valid XML source for the XMLTOCURSOR(В ) function. XMLTOCURSOR( ) retrieves the data.
Remarks
Applies To: CursorAdapter Class
If the CursorAdapterВ UseDeDataSource property is True (.T.), and the cursor adapter is a member of the data environment, the DataEnvironmentВ DataSource and DataSourceType properties override the relevant CursorAdapter properties.