IsEmpty (SortedRecordset function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Template:SortedRecordset:IsEmpty subtitle}}
<span class="pageSubtitle"><section begin=dpl_desc/><section end=dpl_desc/></span>
[[Category:SortedRecordset methods|IsEmpty property]]
<p>
<var>IsEmpty</var> is a member of the <var>[[SortedRecordset class|SortedRecordset]]</var> class.
</p>


This property returns a
This property returns a
Line 10: Line 5:
set is empty (has no records), and is <var>False</var> if the set has records.
set is empty (has no records), and is <var>False</var> if the set has records.
==Syntax==
==Syntax==
<p class="syntax">%bool = %srecs:IsEmpty
{{Template:SortedRecordset:IsEmpty syntax}}
</p>
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 29: Line 23:
when you need the number of records.
when you need the number of records.
</ul>
</ul>
==See also==
{{Template:SortedRecordset:IsEmpty footer}}

Revision as of 01:24, 29 April 2011

Is this SortedRecordset empty? (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

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

See also