Solved

How to check if detail is suppressed

Posted on 2009-07-01
5
2,330 Views
Last Modified: 2012-05-07
How do I programmatically check to see if a detail section is suppressed?
0
Comment
Question by:cobolinx1
[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
  • 2
  • 2
5 Comments
 
LVL 17

Accepted Solution

by:
pssandhu earned 500 total points
ID: 24757424
You can use the formula you used to suppress the detail section in the first to see if it is true or not. For example if this is the formula you used to suppress the detail section dynamically
{Field} = 0
then, you use this qualification in another place and if it holds true then you know the detail section is suppressed. Something like:
If {Field} = 0 Then "Detail section is suppressed"
Else "Its not"
Now depending on how complicated your report is and the formula you are using for supressing the detail section you might have to get more creative but with the basis will remain the same as above.
P.
0
 

Author Comment

by:cobolinx1
ID: 24757742
Great! If I were to do it in the formula editor how would i do it?
0
 
LVL 17

Expert Comment

by:pssandhu
ID: 24758018
Can you explain a little more of what you are trying to achieve? For example what do you want to do once we know if it is supressed or not? What do we do with the value?
P.
0
 

Author Closing Comment

by:cobolinx1
ID: 31598920
I was able to rework the report and use the DrillDownGroupLevel to get what i was looking for.

0
 

Expert Comment

by:BVanwijnsberghe
ID: 25043114
I have simular question.  In detail section i have 2 fields:
field 1: "-" => to indicate a list
field 2: "text from database field"

So i have something like this:
- abc
- aaa
- aaa
- bbb
- bbb

I use the option "suppress if duplicate, then i get:
- abc
- aaa
-
- bbb
-

My question is now "how can i detect a field is suppressed, so i can get a list like this:
- abc
- aaa
- bbb

The "-" is necessary because when the text is longer then 1 line, the text need to be inlined, so i can clear see at what point a new comment comes out of the database.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 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