?
Solved

How to check if detail is suppressed

Posted on 2009-07-01
5
Medium Priority
?
2,489 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 1500 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

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 …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

762 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