[AccessD] IIF statement

Oleg_123 at xuppa.com Oleg_123 at xuppa.com
Fri Mar 5 08:25:36 CST 2004


Hey group, i am still trying to figure out how to do else in an IIF t-sql
statement

this part works fine --

 (IIf([Ron Data mid].DEPT In ("MSS","MID","SW","OW"),[Ron Data mid].[MS
Date Opened])) AS NewDateOpened,

however i d'like every other department to get data from a differnt column
. How should i do it ?

 (IIf([Ron Data mid].DEPT In ("MSS","MID","SW","OW"),[Ron Data mid].[MS
Date Opened])ELSE [MID_Date_Opened]) AS NewDateOpened,

oleg


-----------------------------------------
Get Breaking News from CNN, ABC, NBC, CBS Now.
http://www.xuppa.com/news/?link=webmail





More information about the AccessD mailing list