For an IF Statement, what is the syntax for *like*
I've tried so many combinations of:
IF txtField like '*" & Me.stringField & "*'
IF txtField like " & "'" & "*" & me.stringField & "*" & "'"
IF txtField like " & "* & me.stringField & *"
But nothing works!!
(StringField is a string)
PS-for what i need, i can't use INSTR, i need to use IF.
Thanks
I've tried so many combinations of:
IF txtField like '*" & Me.stringField & "*'
IF txtField like " & "'" & "*" & me.stringField & "*" & "'"
IF txtField like " & "* & me.stringField & *"
But nothing works!!
(StringField is a string)
PS-for what i need, i can't use INSTR, i need to use IF.
Thanks