Experts:
I need some assistance with "streamlining" a query. Attached database includes the following objects:
1. Table "T01_Billets" -- contains eight (8) fields (e.g., [Acct_BA_Off], [Acct_OB_Off], etc.) where values are either 0 or 1.
2. Table "T01_StaffMembers" -- contains a Yes/No field
3. Nine (9) queries
Current process:
- The first eight queries (prefix "Q1_" through "Q8_") are individual queries which output a count of their associated field in [T01_Billets]
- Query "Q9_BilletsAuth_Onboard_TotalSum" then combines the output of the eight (8) queries into a single row/record and produces a "total sum" listed in "BA_Total" and "OB_Total"
Here's what I need some help with:
- Instead of using 8+1 queries, I'd like to reduce the number of required "input queries" (Q1-Q8).
My question: How can I generate the output from "Q9" using fewer queries? Is there a way to get the same results via a single query (or maybe with 1 or 2 helper/input queries vs. 8 helper/input queries)?
Thank you,
EEH