fortwrestler
Registered User.
- Local time
- Yesterday, 19:13
- Joined
- Jan 15, 2016
- Messages
- 50
Hello,
I currently have a cross tab query that I would like to create a report with dynamic date ranges.
Right now, if I generate the report from the crosstab query, it becomes a fixed report for a certain date range which can't be changed without regenerating the report.
Here is my SQL for the crosstab.
TRANSFORM Max([Union Of Stops and Summary].NumOfStops) AS MaxOfNumOfStops
SELECT [Union Of Stops and Summary].Line, [Union Of Stops and Summary].Reason
FROM [Union Of Stops and Summary]
GROUP BY [Union Of Stops and Summary].Line, [Union Of Stops and Summary].Reason
PIVOT Format([EntryDate],"Short Date");
Is there a day to make a report from a user inputted date range + 7 days (weekly) and this dynamically changes by the first day entered.
I currently have a cross tab query that I would like to create a report with dynamic date ranges.
Right now, if I generate the report from the crosstab query, it becomes a fixed report for a certain date range which can't be changed without regenerating the report.
Here is my SQL for the crosstab.
TRANSFORM Max([Union Of Stops and Summary].NumOfStops) AS MaxOfNumOfStops
SELECT [Union Of Stops and Summary].Line, [Union Of Stops and Summary].Reason
FROM [Union Of Stops and Summary]
GROUP BY [Union Of Stops and Summary].Line, [Union Of Stops and Summary].Reason
PIVOT Format([EntryDate],"Short Date");
Is there a day to make a report from a user inputted date range + 7 days (weekly) and this dynamically changes by the first day entered.