RecordNumber (RecordsetCursor function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 3: Line 3:
==Syntax==
==Syntax==
{{Template:RecordsetCursor:RecordNumber syntax}}
{{Template:RecordsetCursor:RecordNumber syntax}}
===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>
Line 17: Line 18:
For more information, see [[RecordsetCursor class#Cursor state|"Cursor state"]].
For more information, see [[RecordsetCursor class#Cursor state|"Cursor state"]].
</ul>
</ul>
==See also==
==See also==
{{Template:RecordsetCursor:RecordNumber footer}}
{{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