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
Determine if comboBox selectedIndex is changed programatically or by user?
How do I update a subform combobox from another form that the subform called?
SSIS error code DTS_E_CannotAcquireConnect<wbr />ionfromCon<wbr />nectionMan<wbr />ager
Problem with Backup Configuration Wizard in SBS 2003 - "An unexpected error occurred (80070057). The parameter is incorrect"
Setting TextBlock Text Property dynamically
Events
expanded file in winXP recovery console same size as compressed
Cannot connect to Sharepoint Central Configuration page due to IIS error.
Interop COM and WCF
Navision with SQL Server 2005 Professional or Enterprise?