LockStrength (Recordset function)

From m204wiki
Revision as of 20:09, 7 February 2012 by Dme (talk | contribs) (→‎See also)
Jump to navigation Jump to search

Return lock strength of Recordset (Recordset class)


This non-settable property returns a LockStrength enumeration that indicates the locking of the Recordset object.

Syntax

%lockStrength = recordset:LockStrength

Syntax terms

%lockStrength The result is an enumeration object of type LockStrength, reflecting recordset's locking. 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)".
recordset An instantiated Recordset 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