printing count of records

S

sheela

Hi,
I have a report based on query. In the header section I am
printing the count of records in the report. For that I am
using countof(autonumberfield) in the query.
If the count is >0 , this works okay. But if there are no
records in the report, then the count is being prited
as: "#Error". How do i print this as 0?
Is there another way to print the count of records in a
report?

TIA.
Sheela.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top