I have an option value frame and two checkboxes in the frame. I need the result of the selection to be referenced in a query.
Eg if option 1 is selected then i need the query to search one field if option 2 is selected then i need another field to be searched.
The problem i have is referncing the result in the query. I have been looking at using something like Forms!frmCountrySelection!Frame22!OptionValue to reference the frame in the query but the problem is the optionvalue is numerical and can not be changed to an alphabetical value.
Does this means that the fields can not be refernced as the query will be looking for a numerical value of the checkbox selection?
If this is the case is there a way around this little problem? or will I have to change the direction that i am approaching this problem?
Is the Forms!frmCountrySelection!Frame22!OptionValue the correct way to reference the frame in the query.
Eg if option 1 is selected then i need the query to search one field if option 2 is selected then i need another field to be searched.
The problem i have is referncing the result in the query. I have been looking at using something like Forms!frmCountrySelection!Frame22!OptionValue to reference the frame in the query but the problem is the optionvalue is numerical and can not be changed to an alphabetical value.
Does this means that the fields can not be refernced as the query will be looking for a numerical value of the checkbox selection?
If this is the case is there a way around this little problem? or will I have to change the direction that i am approaching this problem?
Is the Forms!frmCountrySelection!Frame22!OptionValue the correct way to reference the frame in the query.