Links are not active on this page.
 UseDeDataSource Property

Determines whether to use the data source of the data environment container as the data source for the CursorAdapter object. The data source of the associated data environment is specified by the DataEnvironment DataSource property. Read/write at design time and run time.

NoteNote

UseDeDataSource applies only when the cursor adapter exists in the data environment.

CursorAdapter.UseDeDataSource [ = lValue ]

Expand imageReturn Value

lValue

Logical data type. The following table lists the settings for lValue.

lValue Description

True (.T.)

Use the data source of the associated data environment as the cursor adapter data source.

Setting UseDeDataSource to True (.T.) is not appropriate if the data environment contains multiple CursorAdapter objects using ActiveX Data Object (ADO) data sources. Multiple cursor adapters cannot share a single ADO RecordSet. You should set each cursor adapter's DataSource and DataSourceType properties individually.

If the cursor adapter is a member of the data environment, the DataEnvironment DataSource and DataSourceType properties override the relevant CursorAdapter properties.

False (.F.)

Do not use the data source of the associated data environment as the cursor adapter data source.

Expand imageRemarks

Applies To: CursorAdapter Class

Expand imageSee Also