Solved

crystal reports section suppression at runtime using vb6

Posted on 2006-11-20
3
899 Views
Last Modified: 2008-03-06
i am using vb6 and crystal reports 10 developer

is there a way to suppress selected report section(s) when to report is fired off?
sometimes i want suppress everything except some of the group totals


thanks,

bhoward
0
Comment
Question by:BHoward
[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
3 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 250 total points
ID: 17980048
Yes.  How are you calling the report?

You can pass parameters to the report and use conditional suppression
Open the report
Right Click the section or field you want to suppress
Click FORMAT SECTION (FIELD)
Click the FORMULA button bext to SUPPRESS
Enter a formula that evaluates TRUE when you want to suppress

mlmcc
0
 
LVL 42

Expert Comment

by:frodoman
ID: 17980053
You could create a parameter field on your report and then create conditional suppression formula that will suppress based on the parameter value.  E.g.:

if {?YourParam} = 1 then
  true
else
  false;

Pass the parameter from your application and that should handle it.


frodoman
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 17980368
Glad i could help

mlmcc
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. 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

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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

626 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