Subject | Default session |
---|---|
Author | vsc605 |
Post date | 2003-10-17T14:16:12Z |
There is the global variable named Session in Delphi modules.
There is it's description from Delphi help:
Maintains database components used by an application.
Unit Dbtables
Category BDE support routines
var Session: TSession;
Description
Session is responsible for maintaining all of the database components
used by an application. It is created automatically as part of an
application's initialization and destroyed as part of the
application's termination. The Session variable must remain active at
all times; it can not be destroyed and recreated.
Is there such variable of type TIB_Session in IBObjects or something
like it? If no, how can I obtain TIBODatabase handle by it's name
(there are multiply TIBODatabase objects in my application)?
Thanks. Vladimir.
There is it's description from Delphi help:
Maintains database components used by an application.
Unit Dbtables
Category BDE support routines
var Session: TSession;
Description
Session is responsible for maintaining all of the database components
used by an application. It is created automatically as part of an
application's initialization and destroyed as part of the
application's termination. The Session variable must remain active at
all times; it can not be destroyed and recreated.
Is there such variable of type TIB_Session in IBObjects or something
like it? If no, how can I obtain TIBODatabase handle by it's name
(there are multiply TIBODatabase objects in my application)?
Thanks. Vladimir.