<< Click to Display Table of Contents >>

eLockType

eLockType can be one of the following values:

Lock Type

Description

dbiWRITELOCK

When a write lock is placed, it prevents other sessions from placing any locks. For SQL tables, a write lock is the same as a read lock; behavior varies according to the server.

dbiREADLOCK

When a read lock is placed, it prevents other users from placing a write lock. For dBASE and FoxPro tables, a read lock is automatically upgraded to a write lock. For SQL tables, a write lock is the same as a read lock; behavior varies according to the server.

Note:        Exclusive locks and NO locks are not considered acquired table locks. They are achieved with the DbiOpenTable function, and are owned by the cursor, rather than the session.
Note:        Persistent locks are acquired table locks for Paradox and SQL tables only; acquired by the DbiAcqPersistTableLock function.