Subject | Re: [IBO] Detecting a read only database |
---|---|
Author | Helen Borrie |
Post date | 2006-08-16T00:26:21Z |
At 03:18 AM 16/08/2006, you wrote:
Characteristics property:
e.g.
if IBODatabase1.Characteristics.dbReadOnly then
Helen
>How can I detect if a database is set to read-only (via gfix)? I seeDoes it?
>the TIB_Database component has an IsReadOnly property,
>but I don't useYou must be using *some* TIB_Connection descendant. Read the
>that particular component. Is there some other way to get this info?
Characteristics property:
e.g.
if IBODatabase1.Characteristics.dbReadOnly then
Helen