RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLConnection.DataSets Property

Lists all active datasets for the connection component.

Pascal
property DataSets [Index: Integer]: TCustomSQLDataSet;
C++
__property TCustomSQLDataSet DataSets[int Index];

Use DataSets to access active datasets associated with a connection component. An active dataset is one that is currently open. 

The Index parameter ranges between 0 and DataSetCount. 

The value of DataSets changes as the datasets that use this TSQLConnection component open and close.

Note: If a TSQLClientDataSet uses the connection component to connect to a database server, DataSets lists the internal dataset that the client dataset creates to access data, not the client dataset itself.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!