First (RecordsetCursor function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
{{Template:RecordsetCursor:First subtitle}}
[[Category:RecordsetCursor methods|Last function]]
<p>
<var>Last</var> is a member of the <var>[[RecordsetCursor class|RecordsetCursor]]</var> class.
</p>
 
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 last 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==
<p class="syntax">[%cstate =] %rscursor:Last
{{Template:RecordsetCursor:First syntax}}
</p>
 
===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 Last. 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==
{{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