Subject Re: [IBO] Detecting a read only database
Author Helen Borrie
At 03:18 AM 16/08/2006, you wrote:
>How can I detect if a database is set to read-only (via gfix)? I see
>the TIB_Database component has an IsReadOnly property,

Does it?

>but I don't use
>that particular component. Is there some other way to get this info?

You must be using *some* TIB_Connection descendant. Read the
Characteristics property:

e.g.

if IBODatabase1.Characteristics.dbReadOnly then

Helen