Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1032297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:03:27+00:00 2026-05-16T14:03:27+00:00

I have a field there in my report its called result. It shows something

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:03:28+00:00Added an answer on May 16, 2026 at 2:03 pm

    There are a few ways to accomplish this. The quick and dirty way is to add a Summary field. Right-click on your result field and select “Insert” then “Summary”. Select the minimum aggregate function under “Calculate this summary” and select “Grand Total (Report Footer)”.

    This will return the minimum value for that field (in the case of a string, the minimum in alphabetical order which is FAIL if it appears, otherwise PASS) for all records.

    I’m on Crystal Reports 2008, so your version’s steps might be slightly different.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some code that looks like this. There is also an autoincrement field
I want to allow users to either have there username field empty at any
I have a combobox that is filled with data field JobCode from database. There
I have a crystal report that currently shows data grouped twice. The first group
Consider i have a registartion table and there is field prefLocationId and it contains
I have a MySQL table where there is a 'date_added' (date) field, 'time_added' (time)
I have a couple tables where there is a same field added . What
I have added a 'cancelled' field to my model, is there a way to
I have a table with films. There is a field with short description. Using
I have a field in my database that contain comma separated values these values

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.