Q
Qaspec
I have a query that I would like to rename the columns depending on the
contents of a control on a form. For example my query [QryAll] contains
headers titled week1, week2, and week3 and the form [MainForm] has textboxes
[Start1], [Start2] and [Start3] which correspond to a date that has been
entered into the form. I would like the date that has been entered into the
form to show as my column header for week1 week2 and week3 in the query.
Thanks for any help in advance.
Here's what I hope to see -
MainForm
Start1 = 1/25/08
Start2 = 2/1/08
Sart3 = 2/8/08
Qry All
Type 1/25/08 2/1/08 2/8/08
Blue 15 25 20
Red 18 23 21
Gray 19 26 24
contents of a control on a form. For example my query [QryAll] contains
headers titled week1, week2, and week3 and the form [MainForm] has textboxes
[Start1], [Start2] and [Start3] which correspond to a date that has been
entered into the form. I would like the date that has been entered into the
form to show as my column header for week1 week2 and week3 in the query.
Thanks for any help in advance.
Here's what I hope to see -
MainForm
Start1 = 1/25/08
Start2 = 2/1/08
Sart3 = 2/8/08
Qry All
Type 1/25/08 2/1/08 2/8/08
Blue 15 25 20
Red 18 23 21
Gray 19 26 24