I have created a parameter query in Access97, VisitRecordQry, that prompts for a beginning & ending date; the results of which are used in a report. In this report I created the following Dcount control: =DCount(“[clinic md name]”,”VisitRecordQry”,”[clinic md name]=’Smith'”), but I get an #error message. I changed the domain to the name of the table containing the data, but that also gave an error as long as the query had a parameter. If I eliminate the parameters from the query I get the correct value, but of course I also get a lot of records I don’t want. What am I doing wrong? Thanks for any help
Tanya