Solved

ignore records with a particular field that has a null value

Posted on 2014-12-02
3
312 Views
Last Modified: 2014-12-17
I need to exclude records that does not have data in a particular field.  The field is not selectable in the report.  I just need to exclude the record if the field is empty.
0
Comment
  • 2
3 Comments
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 500 total points
ID: 40475864
There are several ways to do that.

You can use the select expert to not bring the records to the report

Not (IsNull({YourField})

If you need the records but just don't want to show them you can suppress the details or the section with
  IsNull({YourField})

Right click the section in the left margin
Click SECTION EXPERT
Click the FORMULA BUTTON to the right of SUPPRESS
Enter the formula
    IsNull({YourField})

If you need to ignore the values of other fields in summaries or other calculations create a formula like below and use it in the calculations instead of the field
If  Not IsNull(YourField}) then
      {FieldForCalculation}

Open in new window


mlmcc
0
 

Author Comment

by:Thanks_for_your_help_Everyone
ID: 40476778
Thanks, got it to work.  I do have one more question.  Is there software available that will allow Crystal to run without the full version of the software.  I have designed the report, and I do not want to give the person running it the ability to make any changes.  They will only need the ability to select parameters, save and/or print.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 40477748
Yes there are many viewers and scheduling tools available.

Ken Hamady has avery good list and he reviews the ones listed once a year.  SOme are inexpensive and others are a bit pricey.  If you have programming skills it is not too difficult to create a basic report viewing program.

http://www.kenhamady.com/bookmarks.html

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now