I have a field there in my report its called result. It shows something like that PASS PASS PASS PASS
or
PASS FAIL PASS PASS
I want to make a custom formula to show grand result. If that specific(result) field keeps all PASS value then it will show PASS there in grand result else it will show FAIL(If result field keeps at least one fail value.) I don't have enough idea about crystal report scripting so would you please show me example? I have used following code if {res_info.res} = "PASS" then "PASS" else "FAIL" but it shows pass if last row gets pass value & shows fail if last row gets fail value. All I want to do it that it will check all values of result field & if it gets at least one fail value grand result will show fail else it will show pass. I am just a beginner so please add example with your answer.