Query with Like Criteria not Working

JGravesNBS

Registered User.
Local time
Today, 12:29
Joined
Apr 5, 2014
Messages
58
I have a query with a Like Criteria = Like "*doz*" and the query returns records Ok

When I replace the Like Criteria with the following Like and with doz in my form filed SkillAbbrev it returns no records

Like "*[forms]![frmMember Info_Out_Of_Work_List]![SkillAbbrev]*"

Form Name: frmMember Info_Out_Of_Work_List

Unbound Field Name: SkillAbbrev

What am I missing?
 
Try


Like "*" & [forms]![frmMember Info_Out_Of_Work_List]![SkillAbbrev] &"*"
 
Within quotes everything is taken literally.

"*[abc]*" looks for everything that matches the literal [ and a and b and c and ]

So by the way, the criterion was working just fine - delivering the nonsense exactly that you asked for :D
 
I see says the blind man, I should have of known that, Thank you
 

Users who are viewing this thread

Back
Top Bottom