S
Sifford
Can anyone suggest the code that should be used to count
the number of records in a query that contains a certain
value within one of the fields on the query?
For example, I have a query named, "Query1". Query1 has
4 fields and 10 records in it. I want to count the
number of records where Field4 has a "Yes" value in it.
I then want to display the number of times that Field4
has a "Yes" value on a form and a report. What would be
the suggested code to use on a form? on a report?
I want to repeat this process for several other queries
and place their values on the same report and form. I'm
assuming the code would just be repeated with the only
difference being the query that is being pulled?
Thanks in advance for your input!
the number of records in a query that contains a certain
value within one of the fields on the query?
For example, I have a query named, "Query1". Query1 has
4 fields and 10 records in it. I want to count the
number of records where Field4 has a "Yes" value in it.
I then want to display the number of times that Field4
has a "Yes" value on a form and a report. What would be
the suggested code to use on a form? on a report?
I want to repeat this process for several other queries
and place their values on the same report and form. I'm
assuming the code would just be repeated with the only
difference being the query that is being pulled?
Thanks in advance for your input!