Mar 23, 2005 #1 din2005 Programmer Mar 22, 2005 162 GB Hi everyone, How do u form a criteria to check where prevRS is false OR prevRS is true AND Location is not null. Can this be done in a query or could someone provide me sql for this to get me going. Thanks
Hi everyone, How do u form a criteria to check where prevRS is false OR prevRS is true AND Location is not null. Can this be done in a query or could someone provide me sql for this to get me going. Thanks
Mar 23, 2005 1 #2 Crowley16 Technical User Jan 21, 2004 6,931 GB where ((PrevRS = 'false') OR (prevRS = 'true')) AND not isnull(Location) -------------------- Procrastinate Now! Upvote 0 Downvote
where ((PrevRS = 'false') OR (prevRS = 'true')) AND not isnull(Location) -------------------- Procrastinate Now!
Mar 23, 2005 1 #3 PHV MIS Nov 8, 2002 53,708 FR Another way: WHERE PrevRS IN ('false','true') AND NOT (Location IS NULL) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
Another way: WHERE PrevRS IN ('false','true') AND NOT (Location IS NULL) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244