J
JohnB
Hi. When I create a query set to count on a tables
autonumber ID field and with a criteria as another fields
content, it doesn’t return a zero value if no records are
found. It appears to return nothing at all. Is there any
way I can get a query like this to return zero in cases
like this? The reason I ask is that Im setting up a report
to show various totals in my db. Each total is produced by
a separate query and then each query is used in the
reports record source SQL. None of these separate queries
are linked in anyway in the record source SQL. All works
OK until I introduce a query that doesnt produce a total
figure. Then it stops all the other queries totals
appearing. If I could get it to return zero, presumably it
would work.
Any ideas on this one? Thanks, JohnB.
autonumber ID field and with a criteria as another fields
content, it doesn’t return a zero value if no records are
found. It appears to return nothing at all. Is there any
way I can get a query like this to return zero in cases
like this? The reason I ask is that Im setting up a report
to show various totals in my db. Each total is produced by
a separate query and then each query is used in the
reports record source SQL. None of these separate queries
are linked in anyway in the record source SQL. All works
OK until I introduce a query that doesnt produce a total
figure. Then it stops all the other queries totals
appearing. If I could get it to return zero, presumably it
would work.
Any ideas on this one? Thanks, JohnB.