M
Mark
Hi,
I am trying to count the number of times "Yes" or "No"
occurs on a report. In the detail section of a report I
have a text box named "TimelinessYesNo". I would like to
count the number of occurrences of "Yes" and "No"
results.
I have placed a text box in both the header and footer to
make this work, but I am having no luck. Also, I have
tried a couple of control source coding, but still am
having no luck. Here are some of the coding I have tried:
For "Yes" results:
=Sum(IIF([TimelinessYesNo],1,0))
or
=Count(IIF([TimelinessYesNo],1,0))
or
=Count(IIF([TimelinessYesNo]=1,1,0))
where "[TimelinessYesNo]=1" equals "Yes"
Any suggestions? Thanks a bunch!!!!
I am trying to count the number of times "Yes" or "No"
occurs on a report. In the detail section of a report I
have a text box named "TimelinessYesNo". I would like to
count the number of occurrences of "Yes" and "No"
results.
I have placed a text box in both the header and footer to
make this work, but I am having no luck. Also, I have
tried a couple of control source coding, but still am
having no luck. Here are some of the coding I have tried:
For "Yes" results:
=Sum(IIF([TimelinessYesNo],1,0))
or
=Count(IIF([TimelinessYesNo],1,0))
or
=Count(IIF([TimelinessYesNo]=1,1,0))
where "[TimelinessYesNo]=1" equals "Yes"
Any suggestions? Thanks a bunch!!!!