LoopLockStrength (Recordset property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 1: Line 1:
 
{{Template:Recordset:LoopLockStrength subtitle}}
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
[[Category:Recordset methods|LoopLockStrength property]]
<p>
<var>LoopLockStrength</var> is a member of the <var>[[Recordset class|Recordset]]</var> class.
</p>


This settable property returns a <var>LockStrength</var> enumeration
This settable property returns a <var>LockStrength</var> enumeration
Line 11: Line 6:
For more information see [[Recordset class#LoopLockStrength for Recordsets|"LoopLockStrength for Recordsets"]].
For more information see [[Recordset class#LoopLockStrength for Recordsets|"LoopLockStrength for Recordsets"]].
==Syntax==
==Syntax==
<p class="syntax">%ls = %recSet:LoopLockStrength
{{Template:Recordset:LoopLockStrength syntax}}
 
%recSet:LoopLockStrength = %ls
</p>
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 25: Line 17:


</td></tr></table>
</td></tr></table>
==Usage Notes==
==Usage notes==
<ul>
<ul>
<li>The <var>LoopLockStrength</var> property is new as of <var class="product">Sirius Mods</var> version 7.0.
<li>The <var>LoopLockStrength</var> property is new as of <var class="product">Sirius Mods</var> version 7.0.
Line 33: Line 25:
<li>For more information about enumerations, see [[Enumerations|"Enumerations"]].
<li>For more information about enumerations, see [[Enumerations|"Enumerations"]].
</ul>
</ul>
==See also==
{{Template:Recordset:LoopLockStrength footer}}

Revision as of 23:59, 14 April 2011

Set or return minimum lock strength for Recordset records that are in For loops (Recordset class)


This settable property returns a LockStrength enumeration that indicates the minimum lock strength for records processed in For loops on the Recordset object. 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)".

%recSet An instantiated Recordset object variable.

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".

See also