Skip to Content
0
Jan 27 at 06:54 PM

Crystal Report ignoring third condition in if statment

91 Views Last edit Jan 27 at 09:48 PM 2 rev

I have three conditions on a field font to change colour but for some reason it ignores the third condition to change the font colour and if I put the bottom condition at top in the if statement then it works so surely its not handling 3rd condition in the if statement, does any one know a workaround for this issue please?.

IF {days} = 'day1'

OR {day1} = 'day2'

OR {day5} = 'day5' THEN crRed ELSE crBlack