DCount on report displaying "Error".

S

SNFGC

On a report I am using the following calculated field to give me a total count for each ACCOUNTING-CODE (1-7).
=DCount("[ACCOUNTING-CODE]","Total-exception-report-General Cash","[ACCOUNTING-CODE] = '1' ")
I get the correct results, but when I put the following expressions Between [Beginning Date] And [Ending Date], on the date field in my query (Total-exception-report-General Cash ), the calculated fields on my report displays #Error.

Why would adding Between [Beginning Date] And [Ending Date] to the date field to limit the records in the query cause the calculated field on my report to display #Error.

Thanks

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Dcount 8
Expression....is too complex 4
Report / Query sums 2
Date parameters for report 3
dcount 9
IIF function and Dcount function 0
Export Report with Graph to Excel error 2495 1
very slow report with dcount() 6

Top