×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • 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!

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

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Suppress Object or Text when Printing

Suppress Object or Text when Printing

Suppress Object or Text when Printing

(OP)
I'd like to put notes on my Crystal Report as notations to myself, but I don't want the text to appear when I display or print the report. I've found a few closed threads on this subject, but no one had a good answer. Well, I just discovered one!

I created a text box with the note. Then I suppressed the text (Format Text, then select the Suppress formula box) with the following formula:
Whileprintingrecords; 1=1

It does EXACTLY what I wanted. If I run or Print the report, the text box doesn't show. It ONLY shows while on the design form.

Of course, this technique can be used to suppress any field or section of the report as well! Bear in mind, however, that it will also be hidden on Preview. So if you're looking to view the data when displaying or previewing, this method is not for you!

RE: Suppress Object or Text when Printing

Never needed to do this. But I like the tip. Thanks.

RE: Suppress Object or Text when Printing

Another way you can do this is by inserting a text box in the report header and typing into it. Then suppress the report header section. If you need to display something in the report header, insert a second report header section. You don’t need a formula for suppression.

-LB

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

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! Already a Member? Login

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