Share via


RefreshCmdDataSourceType Property

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

CursorAdapter.RefreshCmdDataSourceType[ = cExpression]

Return Value

  • cExpression
    Specifies the data source type used for the RecordRefresh method.

    cExpression is a character expression that evaluates to one of the following:

    cExpression Description

    Empty string ""

    Visual FoxPro disregards the CursorAdapter RefreshCmdDataSource property and uses the CursorAdapter DataSource and DataSourceType properties.

    ODBC

    The data source is ODBC (Open Database Connectivity).

    ADO

    The data source is ADO (ActiveX Data Objects).

    Native

    The data source is native Visual FoxPro tables or cursors.

Remarks

Applies To: CursorAdapter Class

You can set this property in the BeforeRecordRefresh Event.

See Also

Reference

BeforeRecordRefresh Event
DataSource Property
DataSourceType Property
RecordRefresh Method
RefreshCmdDataSource Property