Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Column Headers in a report

Status
Not open for further replies.

Leenie2

Programmer
Sep 13, 2014
3
US
I have created a crosstab query where as the results can change each time based on user selection. My issue is segment names as the column heading can change based on the parameters so I need to create them dynamically. The report would be pulled based on a segment and a date range which could produce anywhere from 1 store to 60 stores and reflects sales. Any Ideas would be great.

Example Results:

Period StoreName1 StoreName2 StoreName3 Storename4 .... StoreName60
Jan-13 $500.00 $1,200.00 $5,000.00 $10,000.00 $120,000.00
 
Thanks dhookom I tried to load your solution but unfortunately it's in Access97 which I no longer have I'm running in access 2013 and it will not convert to that version. Do you have the solution in a newer version?
 
sounds great thank you just let me known when and i will certainly give it a try.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top