I have some problem in getting to a solution for the best way to work at this.
My management wants reports in table format, viewing expenditures and sales for comparrison purpose, so I am creating crosstab queries where the reports will be based on.
My current line of thought is:
1. I have a cross tab query that takes values for 1 type of pricing (Invoice_net), I need to do for the second pricing type (Export_net).
The cross tab query would show Customer expenditures by year on year comparison, quarter on quarter and month on month.
2. I would use 2 parameter queries for the management to enter the customer they want to get data on, and another parameter for the date range.
3. Additionally I would create an individual crosstab query for each year reports, quarter reports and month reports. A field is created in the form that allows the management to select those reports using a combo box.
Problem is that would create too many crosstab queries, so my line of thought would be grouping the values (Export_Net and Invoice_Net) in one crosstab query, with Export_net and Invoice_net as Values and Headings, so I would have only 3 crosstab queries for the pricing each one assigned to run the query only by year, or by quarter or by month.
I would then use VBA to run the query and only show on the report the data selected.
Is that achievable?
Would I run into problems if the management wanted to run the query say for 10 years worth of sales? Or should I put a limit on the date range to allow a limited number of records to be returned by the query?
My management wants reports in table format, viewing expenditures and sales for comparrison purpose, so I am creating crosstab queries where the reports will be based on.
My current line of thought is:
1. I have a cross tab query that takes values for 1 type of pricing (Invoice_net), I need to do for the second pricing type (Export_net).
The cross tab query would show Customer expenditures by year on year comparison, quarter on quarter and month on month.
2. I would use 2 parameter queries for the management to enter the customer they want to get data on, and another parameter for the date range.
3. Additionally I would create an individual crosstab query for each year reports, quarter reports and month reports. A field is created in the form that allows the management to select those reports using a combo box.
Problem is that would create too many crosstab queries, so my line of thought would be grouping the values (Export_Net and Invoice_Net) in one crosstab query, with Export_net and Invoice_net as Values and Headings, so I would have only 3 crosstab queries for the pricing each one assigned to run the query only by year, or by quarter or by month.
I would then use VBA to run the query and only show on the report the data selected.
Is that achievable?
Would I run into problems if the management wanted to run the query say for 10 years worth of sales? Or should I put a limit on the date range to allow a limited number of records to be returned by the query?