Re: I know its Friday, but I need your assistance...

Author: M Jarvis

Posted: 2012-04-13 at 17:39:27

On Fri, Apr 13, 2012 at 3:34 PM, Michael Savage <msavage@golden.net> wrote:

> After setting a filter, how do I determine the number of records that

> meet the condition

> I have a table that has 60 records. I have a field called active which

> is logical

> If let say 45 records are true, and I set the filter to active=.t. How

> do I know how many records would be available (45 in this example)

count to lnFilteredRecordCount

or

count

lnFilteredRecordCount = _TALLY

or

SELECT COUNT(*) as lnFilteredRecordCount from MyTable where active = .t.

or

...

--

Matt Jarvis

Eugene, Oregon USA

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAPT54rbPAty2b_bTqR+LyQ06ZjaF4dczh6UHKLcgU_WHxRL4=g@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 M Jarvis