RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.DataSetPrepared Property

Indicates whether the associated dataset has been properly set up for use by this adapter.

Pascal
property DataSetPrepared: Boolean;
C++
__property Boolean DataSetPrepared;

TCustomDataSetAdapter uses DataSetPrepared internally to keep track of whether it needs to prepare the dataset for use by this adapter. This property is initially false until the WebSnap application calls the PrepareDataSet method. PrepareDataSet changes this property to true, and it remains true until the Web module is deactivated or the Mode of this adapter changes.

Note: Do not confuse the DataSetPrepared property with the Prepared property of many dataset components. DataSetPrepared indicates whether the adapter has performed any tasks it requires to accurately represent its corresponding dataset. (These tasks can include, for example, specifying and running a query on the underlying dataset, or checking which fields should be visible in the current mode.) The Prepared property of a dataset component indicates whether the underlying database engine has initialized itself to represent a database query.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!