I have a problem dealing with Crosstab queries as the source to my report. I have a crosstab queries that changes the number of columns each time when user enters the date range.
Example:
(1st user)
From: 1/1/2001 To : 31/3/2001
Class January February March
ClassA 50 48 49
ClassB 45 46 46
ClassC 49 50 50
(2nd user)
From: 11/3/2001 To : 31/3/2001
Class March
ClassA 49
ClassB 46
ClassC 50
The queries works fine.The results are correct.
But,how do I automatically generate a report with the exact number of columns, with the right month name as the row header each time the user enters the date range?
Please help!
Thanks.
Example:
(1st user)
From: 1/1/2001 To : 31/3/2001
Class January February March
ClassA 50 48 49
ClassB 45 46 46
ClassC 49 50 50
(2nd user)
From: 11/3/2001 To : 31/3/2001
Class March
ClassA 49
ClassB 46
ClassC 50
The queries works fine.The results are correct.
But,how do I automatically generate a report with the exact number of columns, with the right month name as the row header each time the user enters the date range?
Please help!
Thanks.