I know, I don't like nested IFF statements either, but I inherited an access97 db from someone and I'm trying to convert some of the reports to Crystal10
This works fine in Access, but returns nothing in Crystal:
IIf({Claims.Pleural_Effusion_Number}="M",10,(IIf({Claims.Pleural_Effusion_Number}="S",5,0)))
It should be that if it returns "M", it will display "10", if it doesn't return "M", but returns "S", it will display "5", and if it returns neither "M" nor "S", then it will display "0"
I even tried writing it out as an IF THEN statement, but it still displays nothing, no errors either.
Any help is greatly appreciated, thanks!
This works fine in Access, but returns nothing in Crystal:
IIf({Claims.Pleural_Effusion_Number}="M",10,(IIf({Claims.Pleural_Effusion_Number}="S",5,0)))
It should be that if it returns "M", it will display "10", if it doesn't return "M", but returns "S", it will display "5", and if it returns neither "M" nor "S", then it will display "0"
I even tried writing it out as an IF THEN statement, but it still displays nothing, no errors either.
Any help is greatly appreciated, thanks!