V
Vic Spainhower
Hello,
I'm trying to create a select statement and if Access supported a contains
clause would probably solve the problem. I need to pull all of the records
from the table which contain a specific value i.e SELECT * FROM qryTest
WHERE AllowedDivisions Contains 'Z' would only pull the first 3 and last 2.
I'm stuck can't figure out how to do it. Any ideas? I'm using Access 2002.
qryTest ClassDsc CLASSID ShowNbr AllowedDivisions
TWH Western Pleasure Open 3-gait 060 1 'Z'
TWH Western Pleasure Open 3-gait championship 090 1 'Z'
TWH Working Trail Pleasure E/W 2-gt with Obstacles 038 1 'Z'
TWH/ RH In-Hand Halter Stallions 2 & Over 003 1 'R','T'
TWH/RH In-Hand Halter Mares & Geldings 2 & Over 004 1 'T','S','U'
TWH/RH In-hand Halter Weanlings & Yearlings 002 1 'Z'
TWHWorking Trail Pleasure E/W 3-gt with Obstacles 043 1 'Z'
Thanks,
Vic
I'm trying to create a select statement and if Access supported a contains
clause would probably solve the problem. I need to pull all of the records
from the table which contain a specific value i.e SELECT * FROM qryTest
WHERE AllowedDivisions Contains 'Z' would only pull the first 3 and last 2.
I'm stuck can't figure out how to do it. Any ideas? I'm using Access 2002.
qryTest ClassDsc CLASSID ShowNbr AllowedDivisions
TWH Western Pleasure Open 3-gait 060 1 'Z'
TWH Western Pleasure Open 3-gait championship 090 1 'Z'
TWH Working Trail Pleasure E/W 2-gt with Obstacles 038 1 'Z'
TWH/ RH In-Hand Halter Stallions 2 & Over 003 1 'R','T'
TWH/RH In-Hand Halter Mares & Geldings 2 & Over 004 1 'T','S','U'
TWH/RH In-hand Halter Weanlings & Yearlings 002 1 'Z'
TWHWorking Trail Pleasure E/W 3-gt with Obstacles 043 1 'Z'
Thanks,
Vic