Hello,
is it possible to name a field in a query or a table with a variable name?
For example:
I want to choose in listbox "fieldname" the name of the field.
And the query field name looks like:
Unfortunately it doesnt work.
Also if I save the choosen fieldname in a vba function.
This doesnt work, too.
Does someone have an idea?
Thank you very much in advance!
is it possible to name a field in a query or a table with a variable name?
For example:
I want to choose in listbox "fieldname" the name of the field.
And the query field name looks like:
Code:
forms![testform]![fieldname]: FieldOfTheTable
Unfortunately it doesnt work.
Also if I save the choosen fieldname in a vba function.
Code:
fieldNameFunction(): FieldOfTheTable
Does someone have an idea?
Thank you very much in advance!