Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...If there has ever been a justification needed for access to the net during working hours, just referring to this site should suffice. Fantastic!..."

Geography

Where in the world do Tek-Tips members come from?

Suppressing subreports within main reports by selection formulas/booleans

yosteevo (IS/IT--Management)
4 Jun 12 17:12
"Crystal Reports 2008 Experts"


Is it possible to suppress a subreport that is within a main report by using record selection formulas / booleans (true/false scenarios)?

For example:
If IsNull({database.field})
Then
True
Else
False


Any help would be great!
I'm trying to get around creating multiple customized reports for my department's needs.



Thanks

Stephen Waichulis

RTag (Programmer)
4 Jun 12 20:15
Right click on the subreport and click on menu "Format Subreport". A dialog box will be shown, find the check box "Supress" and click the related button "X+2" ( on the right side) - you can write your formula in the formula editor which will be shown .

www.R-Tag.com Viewer, scheduler and report manager for Crystal reports and SSRS.
Send your report everywhere.

yosteevo (IS/IT--Management)
4 Jun 12 20:39
Hello RTag,
Thanks for responding.

I need to control the suppression of the entire subreport from the main report.
I was trying to control the suppression of my subreports by writing syntax within the subreports and this still generated lots of blank white space.

My intention is to create a parameter that will prompt the user to say yes or no for certain subreports to run/show. The parameters need to be controlled by a boolean / true/false option that would essentially suppress the entire subreport if certain testing was not performed by our LAB.

I believe creating a parameter is the answer to what I'm attempting to do.
I'm just not sure how to link this parameter to the subreports I wish to show or hide.

Stephen

lbass (TechnicalUser)
4 Jun 12 22:30
Please do NOT cross post--there are now six posts instead of the one you needed.

-LB
lbass (TechnicalUser)
4 Jun 12 22:35
No, i'm wrong. There are about five sets of two of the same posts! Please do not do this again.

-LB

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close