Jun 14, 2005 #1 patfee Programmer Dec 14, 2004 78 NL hi, is it possible to use a if then sort of statement within a query expression? i.e. if checkbox = true then SE_required Thanks PAtrick
hi, is it possible to use a if then sort of statement within a query expression? i.e. if checkbox = true then SE_required Thanks PAtrick
Jun 14, 2005 #2 lespaul Programmer Feb 4, 2002 7,083 US yes: SELECT F1, F2, iif(somecondition, 'Something', 'Nothing')... where the arguments are: iif(logical comparison, value if true, value if false) Leslie Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual Upvote 0 Downvote
yes: SELECT F1, F2, iif(somecondition, 'Something', 'Nothing')... where the arguments are: iif(logical comparison, value if true, value if false) Leslie Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual
Jun 14, 2005 Thread starter #3 patfee Programmer Dec 14, 2004 78 NL offcourse.... i keep forgetting about this piece of code... thanks!! PAt Upvote 0 Downvote