W
Winger
I'm using an SQL statement to define a RecordSet which is based on the value
of a Combo Box.
The code works fine when I use an absolute value for the Researcher Name
i.e. "Dave"
" WHERE ((([tblResearchers].[ResName])='Dave'))"
But when I change this to look at the value of the Combo Box..
" WHERE ((([tblResearchers].[ResName])=Forms![Form2]![ComboResName]))"
I think I'm referencing the value of the combo box incorreclty.
Any pointers / help would be greatly appreciated.
Many thanks
Winger
of a Combo Box.
The code works fine when I use an absolute value for the Researcher Name
i.e. "Dave"
" WHERE ((([tblResearchers].[ResName])='Dave'))"
But when I change this to look at the value of the Combo Box..
" WHERE ((([tblResearchers].[ResName])=Forms![Form2]![ComboResName]))"
I think I'm referencing the value of the combo box incorreclty.
Any pointers / help would be greatly appreciated.
Many thanks
Winger