AdminAsBoolean property

Applies to
TQDB, TQDBItem, TQDBView

Declaration
property AdminAsBoolean[Key : TKey] : boolean;

Description
Stores and retrieves Admin items as boolean values, e.g.:

   Q.AdminAsBoolean['one']:=true;
   ...
   if Q.AdminAsBoolean['one'] then ...

If an attempt is made to retrieve an item which doesn't exist an EQDBBadKey exception is raised.

Storing an item with an existing key overwrites the previous value.

If the key exists but the item is not boolean the result is undefined.

Run-time only