First (RecordsetCursor function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:RecordsetCursor:First subtitle}}
{{Template:RecordsetCursor:First subtitle}}
Valid in any state,
Valid in any state,
this [[Notation conventions for methods#Callable methods|callable]]
this [[Notation conventions for methods#Callable functions|callable]]
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