Query with Like Criteria not Working (1 Viewer)

JGravesNBS

Registered User.
Local time
Yesterday, 16:43
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?
 

Minty

AWF VIP
Local time
Today, 00:43
Joined
Jul 26, 2013
Messages
10,374
Try


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

spikepl

Eledittingent Beliped
Local time
Today, 01:43
Joined
Nov 3, 2010
Messages
6,142
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
 

JGravesNBS

Registered User.
Local time
Yesterday, 16:43
Joined
Apr 5, 2014
Messages
58
I see says the blind man, I should have of known that, Thank you
 

Users who are viewing this thread

Top Bottom