TMedConnection.LockingMode TMedConnection

property LockingMode: TMedLockingMode ;

Description

Use this property to set the default desired record locking mode for the tables associated with this connection. Set its value to one of the following values:

·rlmDefault - property will be set to rlmPessimistic.

·rlmPessimistic - the default - selects pessimistic locking medhod as default. If not otherwise instructed by TMedTable.LockingMode property, all tables will use pessimistic record locking mode.

·rlmOptimistic - selects optimistic locking medhod as default. If not otherwise instructed by TMedTable.LockingMode property, all tables will use pessimistic record locking mode.

See TMedTable.LockingMode for more information on rlmPessimistic and rlmOptimistic record locking modes.