Solved

How to check if detail is suppressed

Posted on 2009-07-01
5
2,403 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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 …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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