Okay, total newbie to Access here.
I've set up my database rather, now I'm trying to design rather specific reports. The report will only include data filtered by a form/query.
I'd like to be able to do something like
DCount("x",<THIS REPORT>,"x=1")
but I don't know how to reference only the data filted by the query! I've tried
DCount("x","QueryName","x=1")
but it gives me an #ERROR. This is all sitting in the Report Header
Is there a way to reference the report's source in a function? Is there some other way I should be filtering data in the report?
I've set up my database rather, now I'm trying to design rather specific reports. The report will only include data filtered by a form/query.
I'd like to be able to do something like
DCount("x",<THIS REPORT>,"x=1")
but I don't know how to reference only the data filted by the query! I've tried
DCount("x","QueryName","x=1")
but it gives me an #ERROR. This is all sitting in the Report Header
Is there a way to reference the report's source in a function? Is there some other way I should be filtering data in the report?