EasyTable: Single-File Embedded BDE Replacement
Database for Delphi and C++Builder


Specifies whether or not a session is active.

property Active: Boolean;


Examine Active at runtime for the default session, Session, to determine if it is active or not. Active is False by default, meaning there are no open database connections or datasets associated with the session. If Active is True, the session is active even if there are currently no active database connections.

Set the Active property at design time or runtime for additional session components in a database application. Setting Active to True starts the session and makes it the current session. Setting Active to True triggers an OnStartup event handler for the session.

Setting Active to False (the default), closes any open datasets, and disconnects from attached database servers.

Note:   An application can close the default session by setting Active to False, but this is not recommended.

© AidAim Software EasyTable: Easytable Ben Delphi Database Single File Bde Replacemen