This seems like it should be really easy and I think I'm just missing something really dumb.
I have a form that filters a report. At the top of the report I have a bunch of unbound text boxes that do simple things like count and sum. When I apply the filter to the report the text boxes update beautifully when their control source is something like
However now I want to apply a clause. If I do this:
then I get a number but it's ALWAYS that number despite the filter. I want it just to count what's displayed after the filter but
doesn't work, just reports a false count.
What am I doing wrong?
I have a form that filters a report. At the top of the report I have a bunch of unbound text boxes that do simple things like count and sum. When I apply the filter to the report the text boxes update beautifully when their control source is something like
Code:
=sum([num hatched])
Code:
=dcount("[num hatched]", "[tbl_nesting]","[num hatched]>0")
Code:
=dcount([num hatched]>0)
What am I doing wrong?
Comment