R
rfuscjr via AccessMonster.com
I am unsure the best way to do this. I have a report that shows a rolling 15
months of data across the page thus the column headers need to change each
month. (I can not use the column names from the query because they are
generic, ie: Mth1, Mth2...Mth15) and the boss does not want to see Mth1 but
rather Jun07, Jul 07 etc etc.
I do not want to manually key these in each time the report is run; I want to
automate it. I thought of creating 15 queries, each returning a single value
(Jun07 etc) that represents the appropriate column's header value. I'd then
add 15 boxes as report headers and point each box to the appropriate query.
When I try to connect the box to a query in the control source (drill my way
to the query name) and open the form, '?Name' appears as opposed to the
result of the query it should be running.
Ideas?
months of data across the page thus the column headers need to change each
month. (I can not use the column names from the query because they are
generic, ie: Mth1, Mth2...Mth15) and the boss does not want to see Mth1 but
rather Jun07, Jul 07 etc etc.
I do not want to manually key these in each time the report is run; I want to
automate it. I thought of creating 15 queries, each returning a single value
(Jun07 etc) that represents the appropriate column's header value. I'd then
add 15 boxes as report headers and point each box to the appropriate query.
When I try to connect the box to a query in the control source (drill my way
to the query name) and open the form, '?Name' appears as opposed to the
result of the query it should be running.
Ideas?