Kingcoder210 Light Poster

How should I create custom formula for specific field in crystal report?
I have a field of result. It shows something like that
PASS
PASS
PASS
PASS

or

PASS
FAIL
PASS
PASS

Now 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 dont have enough idea about crystal report scripting so would you please show me example? I am just a beginner so please add example with your answer.