I often use crosstab reports to pull data for reports on things like customer sales where you show the customer, product line, and then the sales going across the page left to right by month. The problem I have is I want to always show the latest month as the last column to the right. So if I run a report in May for the last twelve months it will show May as the rightmost column and April as the first, not January first and December twelfth.
What I've done in the past is create 12 different versions of the report and setup ways to figure out which version to use based on a date somewhere (be it on a form, or in the data). I would much prefer to make one report that automatically figures out what data goes where and change the control sources on the fly. Has anybody done something like this and have an example or maybe some ideas how to do it? Any help is greatly appreciated! Joe Miller
joe.miller@flotech.net
What I've done in the past is create 12 different versions of the report and setup ways to figure out which version to use based on a date somewhere (be it on a form, or in the data). I would much prefer to make one report that automatically figures out what data goes where and change the control sources on the fly. Has anybody done something like this and have an example or maybe some ideas how to do it? Any help is greatly appreciated! Joe Miller
joe.miller@flotech.net