jonathanchye
Registered User.
- Local time
- Today, 17:41
- Joined
- Mar 8, 2011
- Messages
- 448
Perhaps I am wrong but I just don't get queries. I mean, yes they are brilliant but no matter how hard I try I can only seem to get a query to return a single criteria.
This is not really good when you need to generate report and also charts based on selected table values.
For example, I can generate an Orders query sorted b y month spanning across 3 years. I can easily generate a report and even a chart based on this query which is brilliant.
However, when I want to add an additional criteria, such as within each year also show the status of the Orders (Live,Closed) and I can't seem to find a way to do this! At least not a straightforward or easy way.
I hope someone could say that I am wrong here as I have tried so many methods but can't seem to get this to work.
I can create a custom form using Textboxes with DCount method to get the values I want but its nigh impossible to generate a chart (automatically) based on textboxes generated using this method.
This is not really good when you need to generate report and also charts based on selected table values.
For example, I can generate an Orders query sorted b y month spanning across 3 years. I can easily generate a report and even a chart based on this query which is brilliant.
However, when I want to add an additional criteria, such as within each year also show the status of the Orders (Live,Closed) and I can't seem to find a way to do this! At least not a straightforward or easy way.
I hope someone could say that I am wrong here as I have tried so many methods but can't seem to get this to work.
I can create a custom form using Textboxes with DCount method to get the values I want but its nigh impossible to generate a chart (automatically) based on textboxes generated using this method.