I'm trying to retrieve the number of records on a report based on a query, however, the function gives back #Error.
I'm trying to use this function incorporated on a report, using a text field and constructing the expression.
The access help suggest the sintax dcount=("*","tablename") and, in fact, this works. But, when I try to replace the "tablename" with "queryname", the error occurs.
Any ideas on this?
Thank you.
I'm trying to use this function incorporated on a report, using a text field and constructing the expression.
The access help suggest the sintax dcount=("*","tablename") and, in fact, this works. But, when I try to replace the "tablename" with "queryname", the error occurs.
Any ideas on this?
Thank you.