First (RecordsetCursor function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
[[Category:RecordsetCursor methods|Last function]]
[[Category:RecordsetCursor methods|First function]]
<p>
<p>
<var>Last</var> is a member of the <var>[[RecordsetCursor class|RecordsetCursor]]</var> class.
<var>First</var> is a member of the <var>[[RecordsetCursor class|RecordsetCursor]]</var> class.
</p>
</p>


Valid in any state,
Valid in any state,
this [[Notation conventions for methods#Callable methods|callable]]
this [[Notation conventions for methods#Callable methods|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
<p class="syntax">[%cstate =] %rscursor:First
</p>
</p>
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%cstate</th>
<tr><th>%cstate</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>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></tr>
</td></tr>
<tr><th>%rscursor</th>
<tr><th>%rscursor</th>
<td>An instantiated <var>RecordsetCursor</var> object.
<td>An instantiated <var>RecordsetCursor</var> object.
</td></tr></table>
</td></tr></table>

Revision as of 21:29, 26 April 2011

<section begin=dpl_desc/><section end=dpl_desc/>

First is a member of the 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

[%cstate =] %rscursor:First

Syntax terms

%cstate If specified, 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".
%rscursor An instantiated RecordsetCursor object.