RecordLockType enumeration: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
These are the valid values of this [[Enumerations|enumeration]]: | These are the valid values of this [[Enumerations|enumeration]]: | ||
<table> | <table class="thJustBold"> | ||
<tr><th>Record</th> | <tr><th>Record</th> | ||
<td>The lock is a single record lock. Such locks are associated with: | <td>The lock is a single record lock. Such locks are associated with: | ||
<ul> | <ul> | ||
<li><var>[[Record_class|Record]]</var> objects | <li><var>[[Record_class|Record]]</var> objects </li> | ||
<li><var>For Record Number</var> statements. | <li><var>For Record Number</var> statements. </li> | ||
<li><var>Print All Information</var> and <var>PAI</var> statements (these lock the record being printed in share mode while the record is being printed). | <li><var>Print All Information</var> and <var>PAI</var> statements (these lock the record being printed in share mode while the record is being printed). </li> | ||
<li><var>LoopLockStrength</var> locks on records ([[Recordset_class#LoopLockStrength_for_Recordsets|LoopLockStrength for Recordsets]], [[Record_class#LoopLockStrength_for_Records|LoopLockStrength for Records]], and [[RecordsetCursor_class#LoopLockStrength_for_RecordsetCursors|LoopLockStrength for RecordsetCursors]]). | <li><var>LoopLockStrength</var> locks on records ([[Recordset_class#LoopLockStrength_for_Recordsets|LoopLockStrength for Recordsets]], [[Record_class#LoopLockStrength_for_Records|LoopLockStrength for Records]], and [[RecordsetCursor_class#LoopLockStrength_for_RecordsetCursors|LoopLockStrength for RecordsetCursors]]). </li> | ||
</ul> | </ul> | ||
</td></tr> | </td></tr> | ||
Line 20: | Line 20: | ||
<td>The lock is for a set of records. Such locks are associated with: | <td>The lock is for a set of records. Such locks are associated with: | ||
<ul> | <ul> | ||
<li><var>[[Recordset_class|Recordset]]</var> objects. | <li><var>[[Recordset_class|Recordset]]</var> objects. </li> | ||
<li><var>Find</var> statements of all types. | <li><var>Find</var> statements of all types. </li> | ||
</ul> | </ul> | ||
</td></tr> | </td></tr> | ||
Line 30: | Line 30: | ||
</table> | </table> | ||
'''Note:''' As with all enumerations, the <var>ToString</var> 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 [[Enumerations#Common enumeration methods| | <p class="note">'''Note:''' As with all enumerations, the <var>ToString</var> 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 [[Enumerations#Common enumeration methods|Common enumeration methods]]. </p> |
Latest revision as of 21:17, 13 August 2014
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:
|
---|---|
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 has been updated, but for which the update has not been committed (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 committed 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.