G
Guest
Is there any way to specify the column heading names in a crosstab query.
Here's my issue. I'm building a report that bases off a crosstab query. Of
course the crosstab query headers are named the pivot values. However, the
query is looking at trends and the column headers will change. For example,
I have a query give me a trend over the past 3 months, pivoted on the month -
so I get column headings Feb, Mar, April. If I run the same query next
month, I'll get colum headings Mar, April, May. I'd like to just name them
Month1, Month2, Month3. The access report that is based on the query has to
have the control source specified, but it's a column header that is
constantly changing. Any help? I believe my only two options are to figure
out how to make the query heading static (Month1, etc) or make the control
source in my report look for a specific column number (query.column(2) -
??this doesn't seem to work) and not a column name 'Jan'.
Thanks!
Here's my issue. I'm building a report that bases off a crosstab query. Of
course the crosstab query headers are named the pivot values. However, the
query is looking at trends and the column headers will change. For example,
I have a query give me a trend over the past 3 months, pivoted on the month -
so I get column headings Feb, Mar, April. If I run the same query next
month, I'll get colum headings Mar, April, May. I'd like to just name them
Month1, Month2, Month3. The access report that is based on the query has to
have the control source specified, but it's a column header that is
constantly changing. Any help? I believe my only two options are to figure
out how to make the query heading static (Month1, etc) or make the control
source in my report look for a specific column number (query.column(2) -
??this doesn't seem to work) and not a column name 'Jan'.
Thanks!