IsEmpty (SortedRecordset function)

From m204wiki
Revision as of 20:28, 28 April 2011 by 198.242.244.47 (talk) (Created page with " <span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span> IsEmpty property <p> <var>IsEmpty</var> is a member of th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

IsEmpty is a member of the SortedRecordset class.

This property 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

%bool = %srecs: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 as efficient as testing the record Count for 0. Use the Count property when you need the number of records.