Hello.
OK - I'll give you a bit of background. I've created a database for tracking calls for a small call center. In the main table, I have items such as type of call, CSR, contact information, receipt date / close date, etc.
I created queries to pull records based on certain time periods, e.g. this week, this month, this quarter, Q1, Q2, etc.
I then used those queries to do sub queries, e.g. I used the "this month" query to pull all closed cases for a specific CSR as a "count" so I could get an accurate number of records closed per time-period per CSR. In these sub-queries, I only showed the count of the records -- no other fields are shown.
Now -- I have about 90 queries and I wanted to use these in a report. I then pulled all of my "count" queries into one query and used that one for the basis of a report. This worked until I added too many subqueries into the report query.
I am having 2 problems.
Problem #1) I got a message that my "query was too complicated". I assume because I had too many queries pulled into one. Is there a way around this?
Due to the above error, I decided I'd break up the subqueries into separate files, one for a report on Receipts and one for a report on Production. This brought on a new problem, see below.
Problem #2) I found that one of my queries, Q42003 (which included all of the CSR's "count" of records closed in Q42003) only showed results if "all" of the CSR's had a count >0? I'm not sure why this is occuring.
I'm open to suggestions?
OK - I'll give you a bit of background. I've created a database for tracking calls for a small call center. In the main table, I have items such as type of call, CSR, contact information, receipt date / close date, etc.
I created queries to pull records based on certain time periods, e.g. this week, this month, this quarter, Q1, Q2, etc.
I then used those queries to do sub queries, e.g. I used the "this month" query to pull all closed cases for a specific CSR as a "count" so I could get an accurate number of records closed per time-period per CSR. In these sub-queries, I only showed the count of the records -- no other fields are shown.
Now -- I have about 90 queries and I wanted to use these in a report. I then pulled all of my "count" queries into one query and used that one for the basis of a report. This worked until I added too many subqueries into the report query.
I am having 2 problems.
Problem #1) I got a message that my "query was too complicated". I assume because I had too many queries pulled into one. Is there a way around this?
Due to the above error, I decided I'd break up the subqueries into separate files, one for a report on Receipts and one for a report on Production. This brought on a new problem, see below.
Problem #2) I found that one of my queries, Q42003 (which included all of the CSR's "count" of records closed in Q42003) only showed results if "all" of the CSR's had a count >0? I'm not sure why this is occuring.
I'm open to suggestions?