C
cinnie
hello gurus
I have a Report based on the Cross Tab query shown below:
TRANSFORM Count(qryEmp.SiteID) AS CountOfSiteID
SELECT qryEmp.SiteName, Count(qryEmp.SiteID) AS [Site Count]
FROM qryEmp
GROUP BY qryEmp.SiteName
PIVOT qryEmp.MtgCode;
Each record in the detail section of the report shows SiteName, [Site
Count], and up to 10 more fields, one for each of the values of MtgCode.
Typical values for MtgCode might be York1, York2, D1, Essex-05 ...
Here is my problem. Because these values change all the time, I want the
text boxex in the Report's detail section to refer to Control Sources of A,
B, C... instead York1, York2, D1.... . Also, space constraints dictate this
A,B,C... scheme.
This sounds like an ideal place to use ALIAS, but I can't figure out how to
assign ALIASes to the pivot fields. Hope this makes sense!
I have a Report based on the Cross Tab query shown below:
TRANSFORM Count(qryEmp.SiteID) AS CountOfSiteID
SELECT qryEmp.SiteName, Count(qryEmp.SiteID) AS [Site Count]
FROM qryEmp
GROUP BY qryEmp.SiteName
PIVOT qryEmp.MtgCode;
Each record in the detail section of the report shows SiteName, [Site
Count], and up to 10 more fields, one for each of the values of MtgCode.
Typical values for MtgCode might be York1, York2, D1, Essex-05 ...
Here is my problem. Because these values change all the time, I want the
text boxex in the Report's detail section to refer to Control Sources of A,
B, C... instead York1, York2, D1.... . Also, space constraints dictate this
A,B,C... scheme.
This sounds like an ideal place to use ALIAS, but I can't figure out how to
assign ALIASes to the pivot fields. Hope this makes sense!