Partager via


SelectCmd Property

Specifies the command for retrieving data from the data source in the CursorAdapterDataSourceType property. Read/write at design time and run time.

CursorAdapter.SelectCmd [ = cCommand ]

Property Values

  • 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 XMLTableToCursor method retrieves the data.

Remarks

If the CursorAdapterUseDeDataSource property is True (.T.), and the cursor adapter is a member of the data environment, the DataEnvironmentDataSource and DataSourceType properties override the relevant CursorAdapter properties.

See Also

Properties | CursorAdapter Object Properties, Methods, and Events | XMLTOCURSOR( ) Function | XMLTable Class | ToCursor Method

Applies To: CursorAdapter Class