Subject Re: How to detect ReadOnly DB
Author Adam
--- In, "Don Gollahon" <dlgllhn@...>
> I'm restoring a FB 1.5 database to be ReadOnly. It works fine but
> I need to detect in my app when the DB it is using is readonly. Is
> there a way to do this?
> I'm using Delphi 6, IBO 4.5, and IBOAdmin components.
> Thanks.

I am sure it is available in the services API somewhere which will be
exposed by IBO.

I would start a transaction and do something that should fail if it
is read only, (eg attempt to increment a generator or update a
table), handling the exception.