LockStrength (RecordsetCursor function): Difference between revisions
Jump to navigation
Jump to search
m (Created page with "<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> LockStrength property <p> <var>LockStrength</var> is a mem...") |
mNo edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:RecordsetCursor:LockStrength subtitle}} | |||
To indicate the lock strength of the <var>RecordsetCursor</var> object, this method returns a <var>LockStrength</var> enumeration. | |||
Since a <var>RecordsetCursor</var> is simply a window, of sorts, into a | Since a <var>RecordsetCursor</var> is simply a window, of sorts, into a | ||
Line 14: | Line 8: | ||
Since <var>SortedRecordsets</var> are not locked, a <var>RecordsetCursor</var> on a | Since <var>SortedRecordsets</var> are not locked, a <var>RecordsetCursor</var> on a | ||
<var>SortedRecordset</var> object has a <var>LockStrength</var> of <var>None</var>. | <var>SortedRecordset</var> object has a <var>LockStrength</var> of <var>None</var>. | ||
==Syntax== | ==Syntax== | ||
{{Template:RecordsetCursor:LockStrength syntax}} | |||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>% | <tr><th>%lockStrength</th> | ||
<td>A | <td>A <var>LockStrength</var> [[Enumerations|enumeration]] variable to contain the returned value of <var class="term">recordsetCursor</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 in [[New (Record constructor)|"New (Record constructor)"]]. | ||
</td></tr> | </td></tr> | ||
<tr><th> | <tr><th>recordsetCursor</th> | ||
<td> | <td>A <var>RecordsetCursor</var> object. | ||
</td></tr></table> | </td></tr></table> | ||
== | |||
==See also== | |||
{{Template:RecordsetCursor:LockStrength footer}} | |||
Latest revision as of 20:40, 12 November 2012
Return lock strength of RecordsetCursor object (RecordsetCursor class)
To indicate the lock strength of the RecordsetCursor object, this method returns a LockStrength enumeration.
Since a RecordsetCursor is simply a window, of sorts, into a Recordset or SortedRecordset object, the LockStrength of a RecordsetCursor object is actually the LockStrength of the underlying Recordset or SortedRecordset object. Since SortedRecordsets are not locked, a RecordsetCursor on a SortedRecordset object has a LockStrength of None.
Syntax
%lockStrength = recordsetCursor:LockStrength
Syntax terms
%lockStrength | A LockStrength enumeration variable to contain the returned value of recordsetCursor'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 (Record constructor)". |
---|---|
recordsetCursor | A RecordsetCursor object. |