access2007,
I have a query that contains one table(tbl_rejects). In my query I have the fields of Company,Customer,Code,Code.
Company and Customer are group by
Code is count and the other Code is a where clause of "Reject"
This will count the reject records for each company which is used in a report.
What I would like to do is add the field "Flag" and to be able to count the "automated" records also.
This is how my query pane looks:
Company Customer Code Code Flag Flag
tbl_rejects tbl_rejects tbl_rejects tbl_rejects tbl_rejects tbl_rejects
Group By Group By Count Where Count Where
"REJECTS" "AUTO"
I need to see both the reject count and auto counts in my report.
Should I try and use a separate query for the auto's, and if so how would I use that in my report. I am already using the reject query for the control source.
Any ideas?
Thanks,
Bruce