Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Surpress For Printing

Status
Not open for further replies.

RachelK

Programmer
Mar 18, 2002
171
GB
I have created a text box in my report that shows to the user however I would like this to be surpress if the report was to be printed out on paper any ideas how to do this.
 
Click on File | Options and place a check in
"show hidden sections in design.

Create a sub-section

Place your text box in the sub-section

Suppress that sub-section.

The section will be 'grayed' out but still visable. Use color to highlight your message. Howard Hammerman,

Crystal Reports training, consulting, books, training material, software, and support. Scheduled training in 8 cities.
howard@hammerman.com
800-783-2269
 
Howard,

Thanks for your help, I problably din't explain myself very well. I have created a text box with a hyperlink this takes the report back to a htm page with drop down parameters, I need the users to click on the text box which I have called back. But if the user prints the report out they will not want a back text box at the top of the report. I would like to maybe click on the text box and format section surpess when the user clicks on file print.
Do you have any more good idea's on how to do this ?
 
I am stumped! Howard Hammerman,

Crystal Reports training, consulting, books, training material, software, and support. Scheduled training in 8 cities.
howard@hammerman.com
800-783-2269
 
There isn't really functionality in Crystal to do this, as I believe that processing for print and display are exactly the same.

You might try to cheat your way around it by creating a formula with a variable like stringvar html := 'print'

Then, when the report is passed to the web, change the value of html by passing a value of 'noprint'. You could then conditionally suppress your 'Back' field on the value of the html variable.

Good luck,

Naith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top