Hi I have a form that is linked to a query by its Record Source.
In one of the Text boxes I want to appear the number of rows in the query where Days = 4 so I thought I would try to use DCOUNT as the Control Source for the Text Box. However every expression I try for DCOUNT throws back error? or name?. Any ideas if this can work and how to sort my code? Iv tried all manner of brackets, apostraphes and inverted commas!
=DCount("[EPISODEUNIQUEKEY]","1-12 Show Records by Date Range","[Days] = '4'")