Hi,
I have a form with a combobox. The combobox third column contains a textvalue that I would like to use as a fieldname in a query. Is this possible?
I use this for returning the combovalue
The table name is P.
I tried
and:
Is my syntax wrong or is it not possible like this? I do not want to use VBA due to maintenance of the queries.
EasyIT
"Do you think that’s air you're breathing?
I have a form with a combobox. The combobox third column contains a textvalue that I would like to use as a fieldname in a query. Is this possible?
I use this for returning the combovalue
Code:
(Eval('[Forms]![frm_Main]![cmbCustomer].column(2)'))
The table name is P.
I tried
Code:
Expr1: [P].[(Eval('[Forms]![frm_Main]![cmbCustomer].column(2)'))]
Code:
Expr1: [P].[" & (Eval('[Forms]![frm_Main]![cmbCustomer].column(2)')) & "]
Is my syntax wrong or is it not possible like this? I do not want to use VBA due to maintenance of the queries.
EasyIT
"Do you think that’s air you're breathing?