I have created a report called Reportcard that gets information from 2 other reports (one, absent, adds absentees and the other, tardy, adds tardies).
I am using the following: =IIf(Nz([F1])="","0",Count([F1])) to count the records. This works great and gives me the values I need in a text box on the form.
If there is a record to count the correct number is passed to the reportcard report.
The problem I encounter is when there are no records to count the text box shows "0" which is good but when I try to pass that to the reportcard report I get "# Error".
How can I pass the "0" to the reportcard report?
I am using the following: =IIf(Nz([F1])="","0",Count([F1])) to count the records. This works great and gives me the values I need in a text box on the form.
If there is a record to count the correct number is passed to the reportcard report.
The problem I encounter is when there are no records to count the text box shows "0" which is good but when I try to pass that to the reportcard report I get "# Error".
How can I pass the "0" to the reportcard report?