LoopLockStrength (Record property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{Template:Record:LoopLockStrength subtitle}}
{{Template:Record:LoopLockStrength subtitle}}
To indicate the minimum lock strength for records processed
in <var>For Record</var> loops on the <var>Record</var> object,
<var>LoopLockStrength</var> uses a <var>LockStrength</var> enumeration.


This settable property returns a <var>LockStrength</var> enumeration
that indicates the minimum lock strength for records processed
in <var>For Record</var> loops on the <var>Record</var> object.
For more information see [[Record class#LoopLockStrength for Records|"LoopLockStrength for Records"]].
For more information see [[Record class#LoopLockStrength for Records|"LoopLockStrength for Records"]].
==Syntax==
==Syntax==

Revision as of 23:30, 26 April 2011

Set or return minimum lock strength for Record in For loops (Record class)

To indicate the minimum lock strength for records processed in For Record loops on the Record object, LoopLockStrength uses a LockStrength enumeration.

For more information see "LoopLockStrength for Records".

Syntax

%currentLockStrength = record:LoopLockStrength record:LoopLockStrength = newLockStrength

Syntax terms

%ls A declared enumeration object of type LockStrength to contain the returned value or to set the new value of %rec's minimum lock strength on records in a loop on %rec. 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 (Record constructor)".
%rec An instantiated Record object variable.

Usage notes

  • 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