How to query field which begins with wild card?

JMichaelM

Registered User.
Local time
Today, 03:39
Joined
Aug 4, 2016
Messages
101
Does anyone know how to query a field which begins with a wild card character "*". Cant seem to get it using Like.
 
in a text box on a form, user fills in the word, and opens the query...

the query looks like:
select * from table where [field] like '*' & forms!myForm!txtBox
 
I need it in a query. Only begins with *
 
use square brackets

like '
[*]*'

will find all values that start with *
 
Thanks. Never had that one before. Just another reason I love access is the support community right here.
 

Users who are viewing this thread

Back
Top Bottom