Hello, I have a question. How do I remove a category from a group that the value =0? I have a group footer that displays the values in a table (destination) then in a text box in the group footer I have a count function - =DCount("[Destination]","EMS Main","[Destination] ='" & [Destination] & "' and [Date of Service] Between Month(Now())&'/1/' & Year(Now())And Now() and [Service] ='CAEMS'")
The DCount function works great except I am not sure how to exclude categories.
The categories in the table are things like Home, HGB, ERMC, etc. Currently all categories show up. Those with no values show the category name then 0. Those with values show the category name then the count. This would be ok but I want to be able to surpress the categories that =0. Here is an example of how it works now:
Destination:
Home 0
HGB 2
ERMC 1
BCHS 0
How would I exclude Home and BCHS?
Thanks,
Rick
The DCount function works great except I am not sure how to exclude categories.
The categories in the table are things like Home, HGB, ERMC, etc. Currently all categories show up. Those with no values show the category name then 0. Those with values show the category name then the count. This would be ok but I want to be able to surpress the categories that =0. Here is an example of how it works now:
Destination:
Home 0
HGB 2
ERMC 1
BCHS 0
How would I exclude Home and BCHS?
Thanks,
Rick