W
WPW07
Hello,
I'm stuck with a Dcount function. I'm trying to count the number of
choices for a given event where the choice=1. This is in the EventID
footer of a subreport. This is what I have:
=DCount("[Choice]","qryEventChoices","[Choice]=1" And "[EventID] = " &
[EventID]).
EventID is a string.
It's returning ALL choices (4000) in the query instead of just those
with a value of 1 (27 for event A)
Thanks
I'm stuck with a Dcount function. I'm trying to count the number of
choices for a given event where the choice=1. This is in the EventID
footer of a subreport. This is what I have:
=DCount("[Choice]","qryEventChoices","[Choice]=1" And "[EventID] = " &
[EventID]).
EventID is a string.
It's returning ALL choices (4000) in the query instead of just those
with a value of 1 (27 for event A)
Thanks