Subject | Cannot get TIB_Connection to close |
---|---|
Author | |
Post date | 2015-02-19T15:26:52Z |
Hi All,
I have IBObjects 4.9.9 and I have a connection predefined to be open in the
datamod module but in debugging I find that it is connected even if I have
not opened it yet. I change the database path on the fly when the application
is opened but it will not let me change it because it will not let me close it
with either .Close or .Connected := False. The only way I can get it to work
is to compile it with the database path blank. This puts a crimp in the
design phase. Any one have ideas? (Delphi 7 Pro, Win 7, FB 2.5.2)
Thanks,
Steve Fields
I have IBObjects 4.9.9 and I have a connection predefined to be open in the
datamod module but in debugging I find that it is connected even if I have
not opened it yet. I change the database path on the fly when the application
is opened but it will not let me change it because it will not let me close it
with either .Close or .Connected := False. The only way I can get it to work
is to compile it with the database path blank. This puts a crimp in the
design phase. Any one have ideas? (Delphi 7 Pro, Win 7, FB 2.5.2)
Thanks,
Steve Fields