LockStrength (Recordset function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
{{Template:Recordset:LockStrength subtitle}}
[[Category:Recordset methods|LockStrength property]]
<p>
<var>LockStrength</var> is a member of the <var>[[Recordset class|Recordset]]</var> class.
</p>


This non-settable property returns a
This non-settable property returns a <var>LockStrength</var> [[Enumerations|enumeration]]
<var>LockStrength</var> enumeration
that indicates the locking of the <var>Recordset</var> object.
that indicates the locking of the <var>Recordset</var> object.
==Syntax==
==Syntax==
<p class="syntax">%ls = %recSet:LockStrength
{{Template:Recordset:LockStrength syntax}}
</p>
 
===Syntax Terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%ls</th>
<tr><th>%lockStrength</th>
<td>A declared enumeration object of type <var>LockStrength</var> to contain the returned value of ''%recSet'''s locking. The enumeration values (shared properties) that may be returned (<var>None</var>, <var>Share</var>, or <var>Exclusive</var>), correspond to standard <var class="product">Model 204</var> record-locking levels, as described in [[New (Recordset constructor)|"New (Recordset constructor)"]].
<td>An enumeration object of type <var>LockStrength</var>, reflecting <var class="term">recordset</var>'s locking. The enumeration values (shared properties) that may be returned (<var>None</var>, <var>Share</var>, or <var>Exclusive</var>), correspond to standard <var class="product">Model 204</var> record-locking levels, as described for the <var>[[New (Recordset constructor)|New]]</var> constructor.
</td></tr>
</td></tr>
<tr><th>%recSet</th>
<tr><th>recordset</th>
<td>An instantiated <var>Recordset</var> object variable.
<td>An instantiated <var>Recordset</var> object variable.


</td></tr></table>
</td></tr></table>
==Usage Notes==
 
==Usage notes==
<ul>
<ul>
<li>If the returned locking value is assigned to an enumeration variable,
<li>If the returned locking value is assigned to an enumeration variable,
use the <var>[[ToString]]</var> enumeration method to print the value string.
use the <var>[[Enumerations#ToString_property|ToString]]</var> enumeration method to print the value string.
<li>For more information about enumerations, see [[Enumerations]].
</ul>
</ul>
==See also==
<ul>
<li><var>[[LoopLockStrength (Recordset property)|LoopLockStrength]]</var>
</ul>
{{Template:Recordset:LockStrength footer}}

Latest revision as of 23:07, 22 February 2012

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 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 for the New 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.

See also