Multiple Text Fields With One Type Of Query Parameter in MS Access -
my form has multiple input text boxes. keep simple; need search database field user inputted text. example:
- contains term "bus" (in text box 1)
- and "tracks" (in text box 2)
- and "route" (in text box3).
when hit "search" button result should populated.
right using 1 text area input
my query is:
like "*" & [forms]![atg]![containssearch] & "*"
op provided answer follows (starting community wiki)
select atg1.term atg1 ( ( ( (atg1.term) "" & [forms]![containsform]![containstext] & "" or (atg1.term) "" & [forms]![containsform]![containstext1] & "" ) , ( (atg1.term) not "" & [forms]![containsform]![notcontainstext] & "" or (atg1.term) not "" & [forms]![containsform]![notcontainstext1] & "" ) ) );
Comments
Post a Comment