I was wondering if there is a way to create a query that would return the counts of each given value within one column. The example that I am working with is a database for tracking technician errors in a pharmacy. The technicians are assigned to work groups called cells. I've written a query to join several tables so I end up with:
TechInit(key) | CellNum | AITDate | RxNum(prescription number)| Severity | ErrorCode
Right now the Severity field is a combo with values of "Major" and "Minor". However, this could change to a High, Med, Low situation in the near future.
What the pharmacists would like to see is a report of the number of errors committed per cell with a count of the number of Major errors vs the number of Minor errors.
Is there a way to do that within a query?
TechInit(key) | CellNum | AITDate | RxNum(prescription number)| Severity | ErrorCode
Right now the Severity field is a combo with values of "Major" and "Minor". However, this could change to a High, Med, Low situation in the near future.
What the pharmacists would like to see is a report of the number of errors committed per cell with a count of the number of Major errors vs the number of Minor errors.
Is there a way to do that within a query?