SelectCmd Property

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.

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.

See Also

Reference

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

Other Resources

Properties (Visual FoxPro)