JavaScript Editor js editor     Web development 



Main Page

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.

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

CursorAdapter.UseDeDataSource [ = lValue ]

Return 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.

Remarks

Applies To: CursorAdapter Class

See Also



JavaScript Editor js editor     Web development