[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Crystal Report Show hidden field if a detail record shows a number

Posted on 2012-03-09
1
Medium Priority
?
1,400 Views
Last Modified: 2012-06-27
Hi,

What would be the best way to show a suppressed textbox in a Crystal Report group header whenever any detailed record doesn't display a value in a particular field?

If none of the detail records shows a number in a field called mytestfield, the textbox in the group header should remain suppresed.

If, however, any or all the records in the detail section show a number in mytesxtfield, the textbox in the group header should show up so the user can see it.

Thanks.
0
Comment
Question by:TheUndecider
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 37703559
WHy are there cases with no values?

Are you suppressing the field in details or is it NULL values?

If NULL values you can add a formula like
Name- IsNotNull
If IsNull({DetailField}) then
    1
Else
    0

You can then suppress the field in the group header with a formula

Sum({@IsNotNull},{GroupField}) = 0

mlmcc
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

649 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