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
Beginner Java programming - Implementing a class
Moving workgroup computers to new domain - how to move existing network printers also?
ORA-28002: the password will expire within 7 days
External Hard Drive Data Error (Cyclic Redundancy Check)
Dynamics GP 10 SP4 on Windows 2008 Remote Desktop Services
Exchange database backup failing with Arcserve v15
TSQL HMAC function
Deleting records from an Oracle database using SQL based on timestamps using SAS SQL passthrough
Error string in catch block?
Setting msExchMailboxSecurityDescr
iptor with VB.NET