Using Access 2010 - I have a crosstab query that will return a variable number of columns each month based on the criteria --- the columns are months which project the number of orders needed for a particular unit based on the order month. So in april ... I may have projected orders for may, june, july .... but in june I may have projected orders for june, july, aug, sep, oct, nov, dec.
The crosstab query works but not the report I've based off of the crosstab query ... all columns may not be reported or an error is generated such as "[Aug] is not recognized as a valid field name". I don't want to recreate the report each month.
How can I allow for a variable number of columns in the report with changing field names so the report will run correctly each month from the crosstab query? Or please suggest a better way to create the report.
And I would also like for the report columns with heading of month in format mmm to be sorted by month order (1-12) rather than alphabetically --- anyway to do this?
http://support.microsoft.com/kb/328320
But an example of your source data and the exact output would make this easier to understand