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
Cron Error with 1 and 1 dedicated server - linux
Inserting another drawing
Java web service accesing error
How can I convert a custom control that calls User32 and Shell32 to work on Mono?
HTTP Error 404.3 on IIS 7.0
jquery click functions not getting attached to dynamic div elements (a href)
How do I fix a calculation problem in Microsoft Visual 2008?
SQL Scripts in a .bat file?
Setting up my first database driven web site
Multicast session fails to open on secondary site server.