DCount counts the number of records in the table,
not the number of records actually in the report.
Filter a report that returns 25 records from a table
holding 100, and your solution will read 100, while
the actual count of records in the report should be 25,
which is what the poster wanted.
--
Fred
Please reply only to this newsgroup.
I do not reply to personal e-mail.
_Bigred said:
I personally use the following style of code:
I create a unbound text box, then set the control source:
=DCount("[ID]","[My Table]")
Later,
_Bigred
Shawn said:
Hi,
I just need a count on my report that shows how many
records are on the report. Could someone please help me.
Thank you,
Shawn