LoopLockStrength (Recordset property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 25: Line 25:
</ul>
</ul>
==See also==
==See also==
<ul>
<li><var>[[LockStrength (Recordset function)|LockStrength]]</var>
</ul>
{{Template:Recordset:LoopLockStrength footer}}
{{Template:Recordset:LoopLockStrength footer}}

Revision as of 20:10, 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)".

%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