I am using the following textbox to count records within a report group header:
=DCount("[ID]","Query1","[Text] = " & "Text30"), where "Text30" is the grouping criteria and is displayed in the group header. This format works well, but I would like to use something similar to group by month with a [Date] field: =DCount("[ID]","Query1","[Date] = " & "??????").
I have tried multiple variations of syntax without success. Any suggestions would be appreciated.
Thanks.