First (RecordsetCursor function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
method positions the cursor on the first record in
method positions the cursor on the first record in
the set, and it leaves the cursor in the <var>HasRecord</var> state.
the set, and it leaves the cursor in the <var>HasRecord</var> state.
==Syntax==
==Syntax==
{{Template:RecordsetCursor:First syntax}}
{{Template:RecordsetCursor:First syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%cstate</th>
<tr><th>%cursorState</th>
<td>If specified, a declared enumeration object of type <var>CursorState</var> to contain the state of the cursor after the completion of First. Valid values are described in [[RecordsetCursor class#Cursor state|"Cursor state"]].
<td>A declared enumeration object of type <var>CursorState</var> to contain the state of the cursor after the completion of First. Valid values are described in [[RecordsetCursor class#Cursor state|"Cursor state"]].
</td></tr>
</td></tr>
<tr><th>%rscursor</th>
 
<tr><th>recordsetCursor</th>
<td>An instantiated <var>RecordsetCursor</var> object.
<td>An instantiated <var>RecordsetCursor</var> object.
</td></tr></table>
</td></tr></table>
==See also==
==See also==
{{Template:RecordsetCursor:First footer}}
{{Template:RecordsetCursor:First footer}}

Latest revision as of 20:34, 12 November 2012

Move cursor to the first record in the set (RecordsetCursor class)

Valid in any state, this callable method positions the cursor on the first record in the set, and it leaves the cursor in the HasRecord state.

Syntax

[%cursorState =] recordsetCursor:First

Syntax terms

%cursorState A declared enumeration object of type CursorState to contain the state of the cursor after the completion of First. Valid values are described in "Cursor state".
recordsetCursor An instantiated RecordsetCursor object.

See also