LoopLockStrength (Recordset property): Difference between revisions
Jump to navigation
Jump to search
m (→See also) |
m (→Syntax terms) |
||
Line 12: | Line 12: | ||
The enumeration values (shared properties) that may be returned (<var>None</var>, <var>Share</var>, or <var>Exclusive</var>), correspond to standard <var class="product">Model 204</var> record-locking levels, as described in [[New (Recordset constructor)|"New (Recordset constructor)"]]. | The enumeration values (shared properties) that may be returned (<var>None</var>, <var>Share</var>, or <var>Exclusive</var>), correspond to standard <var class="product">Model 204</var> record-locking levels, as described in [[New (Recordset constructor)|"New (Recordset constructor)"]]. | ||
</td></tr> | </td></tr> | ||
<tr><th>% | <tr><th>%currentLoopLockStrength</th> | ||
<td> | <td>The <var>[[LockStrength enumeration|LockStrength]]<var> enumeration value of <var class="term">recordset</var>'s <var>LoopLockStrength</var> property. </td></tr> | ||
<tr><th>recordset</th> | |||
<td>A <var>Recordset</var> object. | |||
</td></tr> | |||
<tr><th>newLoopLockStrength</th> | |||
<td>The <var>LoopLockStrength</var> enumeration value to assign to <var class="term">recordset</var>'s <var>LoopLockStrength</var> property. | |||
</td></tr></table> | |||
==Usage notes== | ==Usage notes== | ||
<ul> | <ul> |
Revision as of 20:28, 7 February 2012
Set or return minimum lock strength for Recordset records that are in For loops (Recordset class)
To indicate the minimum lock strength for records processed in For loops on the Recordset object, LoopLockStrength uses a LockStrength enumeration. For more information see "LoopLockStrength for Recordsets".
Syntax
%currentLockStrength = recordset:LoopLockStrength recordset:LoopLockStrength = newLockStrength
Syntax terms
%ls | A declared enumeration object of type LockStrength to contain the returned value or to set the new value of %recSet's minimum lock strength on records in a loop on %recSet.
The enumeration values (shared properties) that may be returned (None, Share, or Exclusive), correspond to standard Model 204 record-locking levels, as described in "New (Recordset constructor)". |
---|---|
%currentLoopLockStrength | The LockStrength enumeration value of recordset's LoopLockStrength property. |
recordset | A Recordset object. |
newLoopLockStrength | The LoopLockStrength enumeration value to assign to recordset's LoopLockStrength property. |
Usage notes
- The LoopLockStrength property is new as of Sirius Mods version 7.0.
- If the returned locking value is assigned to an enumeration variable, use the ToString enumeration method. to print the value string.
- For more information about enumerations, see "Enumerations".