Subject | ibConfigService.BringDatabaseOnline |
---|---|
Author | alnufari <omar2000@scs-net.org> |
Post date | 2003-01-09T11:00:02Z |
I'm using Delphi5 and IBX. I shut down my db using
TIBConfigService.ShutdownDatabase(Forced, seconds) and every thing
works fine as when I try to connect it's still shut down. Then I want
to restart it, I use ibConfigService.BringDatabaseOnline it runs
without exceptions but the db isn't restarted!
The code is:
with myIBConfig do begin
Active:= true;
BringDatabaseOnline;
Active:= false;
end;
Should there be something else to do?
Thanks for any help.
Omar
TIBConfigService.ShutdownDatabase(Forced, seconds) and every thing
works fine as when I try to connect it's still shut down. Then I want
to restart it, I use ibConfigService.BringDatabaseOnline it runs
without exceptions but the db isn't restarted!
The code is:
with myIBConfig do begin
Active:= true;
BringDatabaseOnline;
Active:= false;
end;
Should there be something else to do?
Thanks for any help.
Omar