Solved

crystal reports section suppression at runtime using vb6

Posted on 2006-11-20
3
892 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 100

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 100

Expert Comment

by:mlmcc
ID: 17980368
Glad i could help

mlmcc
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

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. …
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

733 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