Board index » delphi » Record Count and Filtered Tables

Record Count and Filtered Tables

How would one find the number of record results, in a table that has been
filtered?

Thanks in Advance

 

Re:Record Count and Filtered Tables


I would imagine you could just use recordcount couldn't you?  I know if you
SetRange a table and then use RecordCount on that table after you've set the
range, the RecordCount will be only of the records in that range.  Uh,
yea... that was kinda confusing and awkward.... kind like when mom used to
kiss you on the lips goodnight and... wait, strike that.

cheers
-ryan

Quote
"NO Spam" <nos...@spammers.org> wrote in message news:3b8e73ae_2@dnews...
> How would one find the number of record results, in a table that has been
> filtered?

> Thanks in Advance

Re:Record Count and Filtered Tables


The only way is to iterate through the records and count them. If you can
use SetRange instead of a filter then you can use the RecordCount property
and it will give you the count in the range.

--
Bill
(TeamB cannot answer questions received via email)

Other Threads