.Filter like syntax error

InfernoJaffa

Registered User.
Local time
Today, 18:07
Joined
Feb 11, 2015
Messages
26
Hi Guys

I have managed to get this working:
Code:
Private Sub FilterLoc1_Click()
With Me.[DS].Form
.Filter = "Serial = ""1.5"""
.FilterOn = True
End With

I would like to change the code to look for a like statement of "1.*" but have not managed to get my attempts to work.

Any help is appreciated.
 
have you tried
Code:
.Filter = "Serial Like '1.*'"
this should work with wildcard characters.
 

Users who are viewing this thread

Back
Top Bottom