Wildcards

  • Thread starter Thread starter David W
  • Start date Start date
D

David W

I am using

If Me.Combo0 = "Oil Filter" Then

how do you use a wildcard in the first part of filters, I tried

If Me.Combo0 = "* Filter" Then

with no luck.

There are many different types of filters
Oil Filter
Hyd Filter
Fuel Filter
 
I tried that with no luck, but I finally got this to work

Dim MyCheck
MyCheck= Me.Combo0 like "* Filters"
If MyCheck = True Then

Thanks for trying
: )
 
Back
Top