realbasic-nug
[Top] [All Lists]

RE: Counting items in list box

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: RE: Counting items in list box
From: Ganesh Sharma Krishna <nivas9 at pacific dot net dot sg>
Date: Thu, 31 Jul 2003 09:41:33 +0800
I know how to loop through and count all of the records, but how do I only
count the records that meet a certain criteria?

You could sort the records to the top based on column

Loop through the rows until you hit the row where it does not fulfil the criteria.

Accumulate the total  and you have your total records

HTH

Regards

GANESH


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.


<Prev in Thread] Current Thread [Next in Thread>
  • RE: Counting items in list box, Ganesh Sharma Krishna <=