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
adding routes between two netkorks
XP Safe Mode Boot Hangs on hpdskflt.sys
VB:NET MSSQL problem write "strings" InsertCommand
how to open, review, and edit a .exe file?
Freeware Registry Editor for WIndows Mobile 6.1?
Code to open a .csv file, edit and save
AutoDial from Access without Getting the AutoDial Window
You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later.
Attach multiple files to an Outlook message at one time
Formatted Crystal Report