Icon Active Property

property Active: Boolean

Usage

Use the Active property to specify whether or not a session is active. Setting Active to True starts the session and triggers the OnStartup event for the session. If the SessionType property is set to stRemote, then DBISAM will attempt to connect to the database server specified by the RemoteHost or RemoteAddressand RemotePort or RemoteService properties. If the session can successfully connect to the database server, it will then automatically login to the server using the RemoteUser and RemotePasword properties.

Setting Active to False closes any open datasets, and disconnects active database connections. If the SessionType property is set to stRemote, then the connection to the database server is closed and the user is logged out.
Image