on 2022 Jan 27 6:54 PM
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
If CR runs into a NULL value in the database it will stop processing the formula so add if not isnull to the logic and see if that works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this:
If {days} in ["Day1","Day2","Day5"] then crRed else crBlack
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, you might have nulls in other fields. Try this:
IF (not IsNull({days}} AND {days} = 'day1')
OR (not IsNull({day1} AND {day1} = 'day2')
OR (not IsNull({day5}) AND {day5} = 'day5') THEN crRed ELSE crBlack
Please note that you MUST use the parentheses as I've laid them out here - it won't work without them.
-Dell
User | Count |
---|---|
68 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.