Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

crystal reports section suppression at runtime using vb6

Posted on 2006-11-20
3
Medium Priority
?
909 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
  • 2
3 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 750 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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…
Integration Management Part 2
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

885 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