Count (Recordset function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 10: Line 10:
<p class="syntax">%cnt = %recSet:Count
<p class="syntax">%cnt = %recSet:Count
</p>
</p>
===Syntax Terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%cnt</th>
<tr><th>%cnt</th>

Revision as of 16:32, 13 April 2011

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

Count is a member of the Recordset class.

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

Syntax

%cnt = %recSet:Count

Syntax terms

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

For more information about using Count, see "Using Recordset objects".

For a simple example, see "Examples".