Adding Fields that Will Exist in Future to a Report

ertweety

Registered User.
Local time
Today, 10:28
Joined
Dec 1, 2011
Messages
17
Hi there,

I have a report that runs off a crosstab. The report displays a list of employees by cost centre with their fte count by month.

e.g.

Cost Centre 211

Employee Name Jan Feb Mar Apr May Jun Jul
Jim Smith 1 1 0.5 1




Currently, the query has the first 4 months populated. I would like to set up the report so that the remaining months are in the detail section of my report without me having to add them every month. Is there a way to do that since the fields don't exist yet in my report?
 
Amend the PIVOT part of the Crosstab query's SQL statement to look like this:
Code:
PIVOT Format([DateField], "mmm") IN ('Jan', 'Feb', 'Mar', [COLOR=Red]... etc[/COLOR])
 
Thanks for the help!
 

Users who are viewing this thread

Back
Top Bottom