First (RecordsetCursor function): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
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| | [[Category:RecordsetCursor methods|First function]] | ||
<p> | <p> | ||
<var> | <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 | 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: | <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 | <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. |