IsEmpty (Recordset function)

From m204wiki
Revision as of 23:40, 6 November 2012 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Is Recordset empty? (Recordset class)

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


%boolean = recordset:IsEmpty

Syntax terms

%boolean A declared enumeration object of type Boolean to contain the returned value of IsEmpty.
recordset An instantiated Recordset object variable.

Usage notes

  • Since it is much more efficient than testing the record count for 0, use IsEmpty when you simply need to test for an empty set. Use Count only when you need the number of records.

See also