IsEmpty (SortedRecordset function)

From m204wiki
Revision as of 20:32, 24 May 2011 by JALWiccan (talk | contribs) (1 revision)
Jump to navigation Jump to search

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

%bool A declared enumeration object of type Boolean to contain the returned value of IsEmpty.
%srecs 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