| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Counting items in a list box? |
| From: | Will Leshner <leshner at ljug dot com> |
| Date: | Wed, 30 Jul 2003 13:54:53 -0700 |
Probably using an "if" statement:
if listbox.Cell(x,0) = "hello" then
helloCount = helloCount + 1
end if
That will count all the rows where column one is "hello".
Daniel Lee wrote:
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? --- 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> |
|---|---|---|
| ||
| Previous by Date: | RE: multiple instances under Windows, Keith DeLong |
|---|---|
| Next by Date: | Re: Constructors for Modules, William Squires |
| Previous by Thread: | Re: Counting items in a list box?, Brad Rhine |
| Next by Thread: | Sorting Images on Database, Chris Hoyt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |