Applying search box filtering to combo boxes

randle

Registered User.
Local time
Today, 09:58
Joined
Jun 16, 2010
Messages
57
Hi

I have an unbound text box that I'm using as a search box to filter the records on my form and appears to work well however can only get it to apply to text box fields on the form using the expression below

Code:
[TempVars]![strFilter] & " OR ([Serial Number] Like ""*" & [TempVars]![strSearch] & "*"")"

I have a field called "Location" which is a combo box however simply replacing "Serial Number" with "Location" in the above code doesn't work.

I want to keep this as an unbound text filter search box.

Can anyone enlighten me?
 

Users who are viewing this thread

Back
Top Bottom