LockStrength (Recordset function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
mNo edit summary |
||
Line 8: | Line 8: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><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>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></tr> | </td></tr> | ||
<tr><th> | <tr><th>recordset</th> | ||
<td>An instantiated <var>Recordset</var> object variable. | <td>An instantiated <var>Recordset</var> object variable. | ||
Revision as of 19:40, 15 April 2011
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 | A declared enumeration object of type LockStrength to contain the returned value of %recSet'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.