Microsoft
Software
Hardware
Network
Question : Mofify the query
I have 5 fields:
Status, Date0, Date1, Date2, Date3
Depends on status, there is a Date Associated with that.
Like
If Status=0 then Date0
Elseif Status=1 then Date1
Elseif Status=2 then Date2
else
Date4
End if
How to use iif syntax to replace that
Answer : Mofify the query
IIf([status]=0,[Date0],IIf
([status]=
1,[Date1],
IIf([statu
s]=2,[Date
2],[Date3]
)))
OM Gang
Random Solutions
dateDiff - combining a date selection and a time selection
Domain trust between Windows Server 2008 R2 and Windows Server 2003
Outlook Send/Recieve Progress Dialogue Box
Exchange 2007 OWA causes 2 audit failures on failed login attempt
jQuery Chained Select Boxes - Three Tiered ( third tier selected )
sumif with 2 conditions
Ways to merge files in linux
VB.Net 2010: ResourceManager.GetObject fails with silent exception on x64
alpha towards the end of the stage
How to show the progress of record submission to the database dynamically in JSP