I have a form where the user enters 12 date periods. an excel spreadsheet is produced based on the periods, is there anyway I can amend the query caption property to reflect the periods on the form.
I just need to be able to change the query captions based on the information on the form not the fields selected.
The query selects data based on the form which changes based on the requirements.
Version 2003
That is not the answer.
The field names are the same when the query is run even though the selection will be different depending on the input form.
I want to change only the caption using information from the input form.
If the caption cannot be changed by vb then I cannot achieve what I want.
mikeba1,
Are you actually referring to the worksheet tab name after the query is exported to Excel? If so, I would use automation to change worksheet name.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.