What is wrong with my IIF Statement??

calucho

Registered User.
Local time
Today, 10:33
Joined
Nov 25, 2011
Messages
18
Hi,
I have this problem with the iif statement
=IIF([Flag])=6,"M6000","M1000"):eek:
the problems is on my table I have flag 1 and 6; but when i run a report in some Range of date it recognize the flag =6 and flag=1; but in some ranges of date does not recognize the flag 6; just recognize the flag 1. There are another option to do this report..

Thank you.

Carlos:confused::confused:
 
=IIF([Flag]=6,"M6000","M1000")

Too many closing Brackets.
 
hi Rain;
thank you for you answer but I still have the same problem I make the change that you sugest me but; it does not work i got the same result.

Thank you

carlos:confused:
 

Attachments

  • output.png
    output.png
    20 KB · Views: 180

Users who are viewing this thread

Back
Top Bottom