Solved

How to check if detail is suppressed

Posted on 2009-07-01
5
2,125 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
Comment Utility
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
Comment Utility
Great! If I were to do it in the formula editor how would i do it?
0
 
LVL 17

Expert Comment

by:pssandhu
Comment Utility
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
Comment Utility
I was able to rework the report and use the DrillDownGroupLevel to get what i was looking for.

0
 

Expert Comment

by:BVanwijnsberghe
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

10 Experts available now in Live!

Get 1:1 Help Now