G
Guest
Hi all
can someone help me to convert this "access" query:
IIf([Diff]<>0;"Error";"")
Many thanks...
can someone help me to convert this "access" query:
IIf([Diff]<>0;"Error";"")
Many thanks...
convert to what? Netiquette suggests that you don't expect us to read your
subject in order to understand your question.
You can try:
CASE WHEN Diff <>0 THEN 'Error' ELSE '' END
--
Duane Hookom
MS Access MVP
--
Zirc said:Hi all
can someone help me to convert this "access" query:
IIf([Diff]<>0;"Error";"")
Many thanks...
Ricardo said:Is there a way to get the query running both in Access and SQL Server?
Ricardo
"Duane Hookom" escreveu:
You can try:
CASE WHEN Diff <>0 THEN 'Error' ELSE '' END
--
Duane Hookom
MS Access MVP
--
Zirc said:Hi all
can someone help me to convert this "access" query:
IIf([Diff]<>0;"Error";"")
Many thanks...
Looking at BOL, it shows that an IIF function exists. Maybe post the entire
SQL Statement and the error that you are receiving to see if someone can
help.
--
Steve Clark, Access MVP
FMS, Inc.
www.fmsinc.com/consulting
Ricardo said:Is there a way to get the query running both in Access and SQL Server?
Ricardo
"Duane Hookom" escreveu:
You can try:
CASE WHEN Diff <>0 THEN 'Error' ELSE '' END
--
Duane Hookom
MS Access MVP
--
Hi all
can someone help me to convert this "access" query:
IIf([Diff]<>0;"Error";"")
Many thanks...