L
LA Lawyer
I want to use a "like" operator in a Select Case statement; I am sure that
there is some way to do something like this. Here is what I have to do:
Select Case ClassOfContact
Case "Bob's client", "Mary's client", "Our clients". . . . .
......
Case "Vendors"
......
End Select
Obviously, it would be safer and faster to use something like a Like
operator, such as "Like "*client*", but Access 2007 rejects the Like
operator.
Is there a way to do that? Is this a limitation of Select Case? What are
my options? What do the smart people do?
Incidentally, is the Like operator case sensitive?
there is some way to do something like this. Here is what I have to do:
Select Case ClassOfContact
Case "Bob's client", "Mary's client", "Our clients". . . . .
......
Case "Vendors"
......
End Select
Obviously, it would be safer and faster to use something like a Like
operator, such as "Like "*client*", but Access 2007 rejects the Like
operator.
Is there a way to do that? Is this a limitation of Select Case? What are
my options? What do the smart people do?
Incidentally, is the Like operator case sensitive?