Can I use LIKE in an ordinary IF test

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

e.g.

Dim strKW as string
strKW = rs("Keywords")
If strKW like " #### " Then
...
End If
 
Did you try it?

What were the results?


message e.g.

Dim strKW as string
strKW = rs("Keywords")
If strKW like " #### " Then
...
End If
 
somanybugssolittletimetofixthem said:
e.g.

Dim strKW as string
strKW = rs("Keywords")
If strKW like " #### " Then
...
End If


Yes you can, but it would have been many times faster to
just try it before posting the question.
 
About 50% of the time I solve problems on my own before anyone answers here. But if no-one posted, no-one would learn anything would they?
 
Back
Top