PostgresDAC

TPSQLDatabase.Properties.DataSetCount

Previous Next

Indicates the number of active datasets associated with the connection component.

Syntax:

property DataSetCount: Integer;

Description:

Use DataSetCount to determine the number of datasets listed by the DataSets property.

DataSets includes only active datasets; the value of DataSetCount changes when datasets are opened and closed.

Use DataSetCount as an upper bound when iterating through the DataSets property.

See also:Example: DataSetCount, DataSets