M
MJatAflac
I have an interesting challenge with a couple of CrossTab Queries.
I have a crosstab that gives Project Resource and then Forecasted Hours by
week.
I have a crosstab that gives Project Resource and the Actual Hours by week.
I need a query that combines the two so that I end up with the following:
Project Resource Week1 Forecast Week1 Actual Week 1 Variance Week2 Forecast
etc...
The problem is that the user wants to be able to select the date range for
the report so I'll never know what the dates will be. I can restrict them to
a six week range and I know the dates will always be in the past. But other
than that It's anyone's guess.
I'm thinking that somehow I need to translate the week into 1, 2, 3, 4, 5,
and 6 but I have no clue how to do this.
Any ideas?
Thanks,
m
I have a crosstab that gives Project Resource and then Forecasted Hours by
week.
I have a crosstab that gives Project Resource and the Actual Hours by week.
I need a query that combines the two so that I end up with the following:
Project Resource Week1 Forecast Week1 Actual Week 1 Variance Week2 Forecast
etc...
The problem is that the user wants to be able to select the date range for
the report so I'll never know what the dates will be. I can restrict them to
a six week range and I know the dates will always be in the past. But other
than that It's anyone's guess.
I'm thinking that somehow I need to translate the week into 1, 2, 3, 4, 5,
and 6 but I have no clue how to do this.
Any ideas?
Thanks,
m