RecordNumber (RecordsetCursor function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Created page with "<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> RecordNumber property <p> <var>RecordNumber</var> is a mem...")
 
mNo edit summary
 
(4 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:RecordNumber subtitle}}
[[Category:RecordsetCursor methods|RecordNumber property]]
<p>
<var>RecordNumber</var> is a member of the <var>[[RecordsetCursor class|RecordsetCursor]]</var> class.
</p>


Returns the record number of the record at the
current cursor position.
==Syntax==
==Syntax==
<p class="syntax">%recnum = %rscursor:RecordNumber
{{Template:RecordsetCursor:RecordNumber syntax}}
</p>
 
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%recnum</th>
<tr><th>%number</th>
<td>A numeric variable to contain the returned value of <var>RecordNumber</var>.
<td>A numeric variable to contain the returned value of <var>RecordNumber</var>.</td></tr>
</td></tr>
 
<tr><th>%rscursor</th>
<tr><th>recordsetCursor</th>
<td>An instantiated <var>RecordsetCursor</var> object.
<td>A <var>RecordsetCursor</var> object.</td></tr>
</table>


</td></tr></table>
==Usage Note==
==Usage Note==
<ul>
<ul>
<li><var>RecordNumber</var> is only valid if the cursor state is <var>HasRecord</var>.
<li><var>RecordNumber</var> is only valid if the cursor state is <var>HasRecord</var>.
For more information, see [[RecordsetCursor#Cursor state|"Cursor state"]].
For more information, see [[RecordsetCursor class#Cursor state|"Cursor state"]].
</ul>
</ul>
==See also==
{{Template:RecordsetCursor:RecordNumber footer}}

Latest revision as of 21:04, 12 November 2012

Return record number of record at current cursor position (RecordsetCursor class)


Syntax

%number = recordsetCursor:RecordNumber

Syntax terms

%number A numeric variable to contain the returned value of RecordNumber.
recordsetCursor A RecordsetCursor object.

Usage Note

  • RecordNumber is only valid if the cursor state is HasRecord. For more information, see "Cursor state".

See also