SelectCmd Property
TOC
Collapse the table of content
Expand the table of content

SelectCmd Property

Visual Studio .NET 2003

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 ]

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 XMLTable ToCursor method retrieves the data.

Remarks

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

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

Applies To: CursorAdapter Class

Show:
© 2016 Microsoft