Roncayenne
Programmer
I have an Acess query that works ok. Problem is at the end of the report I want a total count of all records. Each record has one ID, so in the total field 'Control Source' properties I have =sum(id) which works fine if I have any records and gives me a total count in the report.
If there are no records it gives me #ERROR. I am trying to get if no records, a '0' count. I have tried using a IIf stmt in the Control Source and it seems that works fine if there are records, but doesn't if no records from the query.
Probably easy solution, but its got the best of me! Can anyone help?
Thanks!
Ron
If there are no records it gives me #ERROR. I am trying to get if no records, a '0' count. I have tried using a IIf stmt in the Control Source and it seems that works fine if there are records, but doesn't if no records from the query.
Probably easy solution, but its got the best of me! Can anyone help?
Thanks!
Ron