G
Guest
In order to prevent report fields showing up with "#Error" if the report is
empty, I do a DCount against the report's underlying query, sending along a
where clause based on a set of user-selectable filters, and issue a "Report
empty" message if the DCount = 0.
I have found that if I use DCount("*","[myQuery],strWhere) instead of
DCount("[fieldName]","[myQuery]",strWhere), I sometimes get "Query too
complex" errors.
Why is this, and is there a more efficient way of dealing with empty reports?
empty, I do a DCount against the report's underlying query, sending along a
where clause based on a set of user-selectable filters, and issue a "Report
empty" message if the DCount = 0.
I have found that if I use DCount("*","[myQuery],strWhere) instead of
DCount("[fieldName]","[myQuery]",strWhere), I sometimes get "Query too
complex" errors.
Why is this, and is there a more efficient way of dealing with empty reports?