Hello,
I did a search and found a post that dhookum pointed to a Dynamic Crosstab ... FAQ703-5466
I was hoping I can get some help with that.
I don't understand if you need the form for the date.
I have a report that calls out a query which is based on two cross-tab queries. So the columns are always changing.
And I have to manually change the query whenever the "ww" changes in the cross-tab query. It changes weekly.
Here's the SQL view of the query:
SELECT [8WeekCombined-BookingsCounts].Rep AS RepGroup, [8WeekCombined-BookingsCounts].OrderFrom, [8WeekCombined-BookingsCounts].[34] AS [8 Wks Ago Count], [8WeekCombined-BookingsAmount].[34] AS [8 Wks Ago Amount], [8WeekCombined-BookingsCounts].[33] AS [7 Wks Ago Count], [8WeekCombined-BookingsCounts].[33] AS [7 Wks Ago Amount], [8WeekCombined-BookingsCounts].[32] AS [6 Wks Ago Count], [8WeekCombined-BookingsAmount].[32] AS [6 Wks Ago Amount], [8WeekCombined-BookingsCounts].[31] AS [5 Wks Ago Count], [8WeekCombined-BookingsAmount].[31] AS [5 Wks Ago Amount], [8WeekCombined-BookingsCounts].[30] AS [4 Wks Ago Count], [8WeekCombined-BookingsAmount].[30] AS [4 Wks Ago Amount], [8WeekCombined-BookingsCounts].[29] AS [3 Wks Ago Count], [8WeekCombined-BookingsAmount].[29] AS [3 Wks Ago Amount], [8WeekCombined-BookingsCounts].[28] AS [2 Wks Ago Count], [8WeekCombined-BookingsAmount].[28] AS [2 Wks Ago Amount], [8WeekCombined-BookingsCounts].[27] AS [Last Wk Count], [8WeekCombined-BookingsAmount].[27] AS [Last Wk Amount], [8WeekCombined-BookingsCounts].[8 Wk Ttl No Of Orders], [8WeekCombined-BookingsAmount].[8 Wk Ttl Amt]
Can anyone help me please??
I did a search and found a post that dhookum pointed to a Dynamic Crosstab ... FAQ703-5466
I was hoping I can get some help with that.
I don't understand if you need the form for the date.
I have a report that calls out a query which is based on two cross-tab queries. So the columns are always changing.
And I have to manually change the query whenever the "ww" changes in the cross-tab query. It changes weekly.
Here's the SQL view of the query:
SELECT [8WeekCombined-BookingsCounts].Rep AS RepGroup, [8WeekCombined-BookingsCounts].OrderFrom, [8WeekCombined-BookingsCounts].[34] AS [8 Wks Ago Count], [8WeekCombined-BookingsAmount].[34] AS [8 Wks Ago Amount], [8WeekCombined-BookingsCounts].[33] AS [7 Wks Ago Count], [8WeekCombined-BookingsCounts].[33] AS [7 Wks Ago Amount], [8WeekCombined-BookingsCounts].[32] AS [6 Wks Ago Count], [8WeekCombined-BookingsAmount].[32] AS [6 Wks Ago Amount], [8WeekCombined-BookingsCounts].[31] AS [5 Wks Ago Count], [8WeekCombined-BookingsAmount].[31] AS [5 Wks Ago Amount], [8WeekCombined-BookingsCounts].[30] AS [4 Wks Ago Count], [8WeekCombined-BookingsAmount].[30] AS [4 Wks Ago Amount], [8WeekCombined-BookingsCounts].[29] AS [3 Wks Ago Count], [8WeekCombined-BookingsAmount].[29] AS [3 Wks Ago Amount], [8WeekCombined-BookingsCounts].[28] AS [2 Wks Ago Count], [8WeekCombined-BookingsAmount].[28] AS [2 Wks Ago Amount], [8WeekCombined-BookingsCounts].[27] AS [Last Wk Count], [8WeekCombined-BookingsAmount].[27] AS [Last Wk Amount], [8WeekCombined-BookingsCounts].[8 Wk Ttl No Of Orders], [8WeekCombined-BookingsAmount].[8 Wk Ttl Amt]
Can anyone help me please??