LoopLockStrength (RecordsetCursor property)

From m204wiki
Revision as of 18:22, 22 April 2011 by JAL2 (talk | contribs) (Created page with "<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> LoopLockStrength property <p> <var>LoopLockStrength</var> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

LoopLockStrength is a member of the RecordsetCursor class.

This settable property contains a LockStrength enumeration that indicates the minimum lock strength for records processed in For Record At loops on the RecordsetCursor object. For more information see "LoopLockStrength for RecordsetCursors".

Syntax

%ls = %rscursor:LoopLockStrength %rscursor:LoopLockStrength = %ls

Syntax terms

%ls A declared enumeration object of type LockStrength to contain the returned value or to set the new value of %rscursor's minimum lock strength on records in a loop on %rscursor.

The enumeration values (shared properties) that may be returned (None, Share, or Exclusive), correspond to standard Model 204 record-locking levels, as described in "Cursor (Recordset constructor)".

%rscursor An instantiated RecordsetCursor object variable.

Usage Notes

  • This property is only available in Sirius Mods 7.0 and later.
  • This property may only be set for cursors on Recordset objects. An attempt to set it for a cursor on a SortedRecordset object will result in request cancellation.
  • 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.