Freigeben über


RefreshCmdDataSource Property

Specifies the data source used for the RecordRefresh method. Read/write at design time and run time.

CursorAdapter.RefreshCmdDataSource[ = DataSource]

Parameters

  • 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 RefreshCmdDataSourceType Property.

    DataSource DataSource Type

    "ADO"

    Reference to a valid ActiveX Data Object (ADO) Command object

    "ODBC"

    Positive integer that represents or memory variable that contains a valid Open Database Connectivity (ODBC) connection handle

    "Native", null (.NULL.), or empty string ("")

    Disregarded.

    The default value is the null value (.NULL.).

Remarks

Applies To: CursorAdapter Class

You can set this property in the BeforeRecordRefresh Event.

See Also

Reference

BeforeRecordRefresh Event
RecordRefresh Method
RefreshCmdDataSourceType Property