LoopLockStrength (Recordset property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 15: Line 15:
%recSet:LoopLockStrength = %ls
%recSet:LoopLockStrength = %ls
</p>
</p>
===Syntax Terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%ls</th>
<tr><th>%ls</th>

Revision as of 17:21, 13 April 2011

<section begin=dpl_desc/><section end=dpl_desc/>

LoopLockStrength is a member of the 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

%ls = %recSet:LoopLockStrength %recSet:LoopLockStrength = %ls

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