the last IIF needs another argument for value-if-false
You have pairs of <<.
Get Outlook for iOS
From: 2351644500n behalf of
Sent: Friday, July 6, 2018 5:09 PM
To: ms_access_professionals@yahoogroups.com
Subject: [MS_AccessPros] Nested IIF statement�
I have looked at this statement too long and still can't figure it out.� I know it's something easy, but I just can't see it.� I get the error statement "The expression you entered has a function containing the wrong number of arguments."
This is my IIF statement:
UserState: Left(Trim(IIf([Temp10] Like "*NEW USER'S REGION*",
� Trim(Replace([Temp10],"NEW USER'S REGION:","")),
IIf([Temp9] Like "*NEW USER'S LOCATION INFO: USA-FRA*",
� Replace([Temp9],"NEW USER'S LOCATION INFO: USA-FRA>>","")),
IIf([Temp9] Like "*NEW USER'S LOCATION INFO: USA-FRAC-FRA*",
� Replace([Temp9],"NEW USER'S LOCATION INFO: USA-FRAC-FRA>>","")))),2)
Thanks for your help.
Posted by: crystal 8 <strive4peace2008@yahoo.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (6) |
Tidak ada komentar:
Posting Komentar