Using LIKE in a SQL Query String In VBA

M

mckitlk

Hello, everyone,

I was wondering if anyone could help with this...

BACKGROUND: Present the user with an InputBox to get a search string
that can then be used to search on the current field. I got it working
with the "=" operator. Then I decided I wanted to allow wildcards for
the First Name and Last Name fields, using the LIKE operator. I can't
seem to get the willdcards to work.

CODE:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top