Sign in Join
FPDoc Onlineexperiment

TDBDataset.DataBase property

Member of TDBDatasetpublicIn unit DB

Database this dataset is connected to.

Declaration

pascal
property DataBase: TDataBase read FDatabase write SetDatabase;

Description

Database should be set to the TDatabase instance this dataset is connected to. It can only be set when the dataset is closed.

Descendent classes should check in the property setter whether the database instance is of the correct class.

Errors

If the property is set when the dataset is active, an EDatabaseError exception will be raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.