Solved

crystal reports section suppression at runtime using vb6

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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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 …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 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