Count (Recordset function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
{{Template:Recordset:Count subtitle}}
[[Category:Recordset methods|Count function]]
<p>
<var>Count</var> is a member of the <var>[[Recordset class|Recordset]]</var> class.
</p>


This function calculates the
This function calculates the
number of records in the <var>Recordset</var> object.
number of records in the <var>Recordset</var> object.
==Syntax==
==Syntax==
<p class="syntax">%cnt = %recSet:Count
{{Template:Recordset:Count syntax}}
</p>
 
===Syntax Terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%cnt</th>
<tr><th>%number</th>
<td>A numeric variable to contain the returned value of <var>Count</var>.
<td>A numeric variable to contain the returned value of <var>Count</var>.</td></tr>
</td></tr>
 
<tr><th>%recSet</th>
<tr><th>recordset</th>
<td>A non-null <var>Recordset</var> object variable.
<td>A non-null <var>Recordset</var> object variable.</td></tr>
</td></tr></table>
</table>
For more information about using <var>Count</var>, see [[Recordset class#Using Recordset objects|"Using Recordset objects"]].
 
==Usage notes==
<ul>
<li>For more information about using <var>Count</var>, see [[Recordset class#Using Recordset objects|"Using Recordset objects"]].
</ul>
 
==Examples==
For a simple example, see the <var>Copy</var> method [[Copy and DeepCopy (Recordset functions)#Example|"Example"]] section.


For a simple example, see <var>[[Copy and DeepCopy (Recordset functions)#Examples|"Examples"]]</var>.
==See also==
{{Template:Recordset:Count footer}}

Latest revision as of 14:15, 6 February 2013

Calculate number of records in Recordset (Recordset class)


This function calculates the number of records in the Recordset object.

Syntax

%number = recordset:Count

Syntax terms

%number A numeric variable to contain the returned value of Count.
recordset A non-null Recordset object variable.

Usage notes

Examples

For a simple example, see the Copy method "Example" section.

See also