Microsoft
Software
Hardware
Network
Question : What is the best for multiple iif statements access 2003
OK I ahve this at the moment
IIf([Expr1]<196,[Expr1]*1,
IIf([Expr1
]<572,[Exp
r1]*0.1514
-29.7115,6
))
but there are another 5 or 6 conditions to add
There must be a simpler way. Is there a "case" syntax.? How does it work is it similar to
case1 get a
case2 get b
you know the old dos i think pascal or something.
TIA thanks for your patience out there
Answer : What is the best for multiple iif statements access 2003
No code. I would be a query 'Expression:
Here is an *example*:
SELECT Switch([FIELD1]=196,"SomeV
alue1",[FI
ELD2]=572,
"SomeValue
2",[FIELD3
]=999,"Som
eValue3") AS SomeAliasName
FROM Table1;
mx
Random Solutions
Convert 3.0 Resource file to 6.0 format?
String extract in a query field
Aceess 2002 SQL Query question... accumulation by group by sequence
Exchange 2003 or 2007 with VMWARE
How to select records from tblA that do not exist in tblB ?
macro vlookup error
Excel 2007 - Macro Digital Certificate Issue
A configuration error in the e-mail system caused the message to bounce between two servers or to be forwarded between two recipients
Import SQL 2005 database example into SQL 2008
Can't resolve how a QuickStart defines a ICollection var