Re: Need help w/ Challenging Query
From: Gary Walter (garylwpleasenospam_at_wamego.net)
Date: 06/23/04
- Next message: at: "Re: AVERAGE"
- Previous message: Sh: "Re: Is this a Query"
- In reply to: Tom: "Re: Need help w/ Challenging Query"
- Next in thread: Tom: "Re: Need help w/ Challenging Query"
- Reply: Tom: "Re: Need help w/ Challenging Query"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Jun 2004 09:19:45 -0500
Hi Tom,
try
SELECT Branch, Billet
FROM yourtable
WHERE
(((Switch(Len([Branch])=4,[Branch]<>Left([Billet],4),
Len([Branch])=5,[Branch]<>Left([Billet],5),
Len([Branch])=6,Left([Branch],5)<>Left([Billet],5),
True,False))=-1));
Please respond back if I have misunderstood.
Good luck,
Gary Walter
- Next message: at: "Re: AVERAGE"
- Previous message: Sh: "Re: Is this a Query"
- In reply to: Tom: "Re: Need help w/ Challenging Query"
- Next in thread: Tom: "Re: Need help w/ Challenging Query"
- Reply: Tom: "Re: Need help w/ Challenging Query"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|