RecordLockType enumeration: Difference between revisions
Jump to navigation
Jump to search
m (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...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<!-- RecordLockingType enumeration --> | <!-- RecordLockingType enumeration --> | ||
This enumeration is used to indicate the type of a record lock, most likely in a <var>[[RecordLockingConflict class|RecordLockingConflict]]</var> object. | |||
This enumeration is used to indicate the type of a record lock, most likely in a [[RecordLockingConflict class|RecordLockingConflict | |||
These are the valid values of this [[Enumerations|enumeration]]: | These are the valid values of this [[Enumerations|enumeration]]: | ||
<table> | <table> | ||
<tr> | <tr><th>Record</th> | ||
<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>[[Record_class|Record | <li><var>[[Record_class|Record]]</var> objects | ||
<li>< | |||
<li>< | <li><var>For Record Number</var> statements. | ||
<li>LoopLockStrength locks on records | |||
<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>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]]). | |||
</ul> | </ul> | ||
</td> | </td></tr> | ||
</tr> | |||
<tr> | <tr><th>Recordset</th> | ||
<th>Recordset</th> | |||
<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>[[Recordset_class|Recordset | <li><var>[[Recordset_class|Recordset]]</var> objects. | ||
<li>< | |||
<li><var>Find</var> statements of all types. | |||
</ul> | </ul> | ||
</td> | </td></tr> | ||
</tr> | |||
<tr> | <tr><th>PendingUpdate</th> | ||
<th>PendingUpdate</th> | <td>The lock is for a record in a <var>TBO</var> (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, <var class="product">Model 204</var> locks updated records in exclusive mode until the update is committed or backed out. </td></tr> | ||
<td>The lock is for a record in a TBO (transaction backout) file that | |||
</tr> | |||
</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|"Common enumeration methods"]]. | '''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"]]. |
Revision as of 20:36, 27 November 2012
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".