Solved

How to check if detail is suppressed

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

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

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. …
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

911 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