RecordLockType enumeration

From m204wiki
Revision as of 14:38, 30 August 2012 by Alex (talk | contribs) (Created page with "<!-- RecordLockingType enumeration --> This enumeration is used to indicate the type of a record lock, most likely in a [[RecordLockingConflict class|RecordLockingConflict objec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This enumeration is used to indicate the type of a record lock, most likely in a RecordLockingConflict object.

These are the valid values of this enumeration:

Record The lock is a single record lock. Such locks are associated with:
  • Record objects
  • For Record Number statements.
  • Print All Information and PAI statements (these lock the record being printed in share mode while the record is being printed).
  • LoopLockStrength locks on records for Recordset, Record, and RecordsetCursor objects.
Recordset The lock is for a set of records. Such locks are associated with:
PendingUpdate The lock is for a record in a TBO (transaction backout) file that's been updated but for which the update has not been commited (or backed out) yet. To ensure that other users don't also update the same record (and so make backout impossible) or see the partially updated record, Model 204 locks updated records in exclusive mode until the update is commited or backed out.

Note: As with all enumerations, the ToString method implicitly converts an enumeration value to a character string whose value is the name of the enumeration value. For more information about methods available to all enumerations, see "Common enumeration methods".