Hi, i have created a form (Form2) based upon a query (queryA)
In queryA, there are two dynamic fields that change according to a combobox value that a user select in another form (Form1).
How do i set the fields in Form2 to be dynamic?
I tried using the following code, but it generate a #Name? error
txtAA / txtBB is the name of the textbox in my form (Form2).
"AA " & Forms!Form1.Combo1 is the exact name of the field in my query (queryA)
txtAA.ControlSource = "AA " & Forms!Form1.Combo1
txtBB.ControlSource = "BB " & Forms!Form1.Combo1
Would appreciate any help or insight
Thanks!
In queryA, there are two dynamic fields that change according to a combobox value that a user select in another form (Form1).
How do i set the fields in Form2 to be dynamic?
I tried using the following code, but it generate a #Name? error
txtAA / txtBB is the name of the textbox in my form (Form2).
"AA " & Forms!Form1.Combo1 is the exact name of the field in my query (queryA)
txtAA.ControlSource = "AA " & Forms!Form1.Combo1
txtBB.ControlSource = "BB " & Forms!Form1.Combo1
Would appreciate any help or insight
Thanks!