IsEmpty (SortedRecordset function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 8: Line 8:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%boolean</th>
<tr><th>%boolean</th>
<td>An <var>[[Enumerations|Enumeration]]</var> object of type <var>Boolean</var> to contain the returned value of <var>IsEmpty</var>.</td></tr>
<td>An <var>Enumeration</var> object of type <var>Boolean</var> to contain the returned value of <var>IsEmpty</var>.</td></tr>


<tr><th>sortedRecordset</th>
<tr><th>sortedRecordset</th>

Latest revision as of 21:40, 12 November 2012

Is this SortedRecordset empty? (SortedRecordset class)

IsEmpty returns a Boolean Enumeration whose value is True if the set is empty (has no records), and is False if the set has records.

Syntax

%boolean = sortedRecordset:IsEmpty

Syntax terms

%boolean An Enumeration object of type Boolean to contain the returned value of IsEmpty.
sortedRecordset A reference to an instance of a SortedRecordset object.

Usage Note

  • For convenience, use IsEmpty when you simply need to test for an empty set of records; it is more efficient as testing the record Count for 0. Use the Count property when you need the number of records.

See also