Hi,
I have a form that is serving as an advanced search engine for my table. Using combo boxes, I have placed value lists items like *, True, and False. A user would go to this advanced search page and select all of the criteria for their desired records.
Leaving the form open - whose text boxes are not bound to anything, I have placed their addresses in the criterea with LIKE [form_name]![text_box_name] in hopes that it would perform the desired search. However, this is not working. If I hard code in place of the above sample TRUE - I get the desired results. How can I use the variables to make it work? The items that are not *,true,false all work (like state, HS graduation year, and gender) and are set up the same way. The T/F variables are set up as yes/no in the table - and work when I hard code TRUE so, I thought the value list would suffice given the same logic.
I have a form that is serving as an advanced search engine for my table. Using combo boxes, I have placed value lists items like *, True, and False. A user would go to this advanced search page and select all of the criteria for their desired records.
Leaving the form open - whose text boxes are not bound to anything, I have placed their addresses in the criterea with LIKE [form_name]![text_box_name] in hopes that it would perform the desired search. However, this is not working. If I hard code in place of the above sample TRUE - I get the desired results. How can I use the variables to make it work? The items that are not *,true,false all work (like state, HS graduation year, and gender) and are set up the same way. The T/F variables are set up as yes/no in the table - and work when I hard code TRUE so, I thought the value list would suffice given the same logic.