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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditionally Printing Objects

Status
Not open for further replies.

DocFKNx

Programmer
Jan 2, 2002
25
US
Is there a way to prevent printing objects based on whether the report is running in Preview mode versus being printed? Crystal Reports 8.5 fyi. Thanks!

Doc
 
Create a parameter field with default values of V-View and P-Print. Then conditionally suppress the object based on the value of the parameter. Software Training and Support for Macola, Crystal Reports and Goldmine
714-348-0964
dgilsdorf@mchsi.com
 
Guess I'm not understanding completely or I didn't specify my question clearly. Are 'V-View' and 'P-Print' reserved internal print-state variables? I have text on some of my reports that guide the user while in the viewer that I don't want to actually have appear on the printed version should the user decide to print it from the viewer. I *think* what you're suggesting is prompting the user as to whether to view the report or print it. I'm kind of looking to automatically view it first and then conditionally print some objects of it should the user hit the print button. Hope that's clearer! Thanks! : )

Doc
 
Guess I'm not understanding completely or I didn't specify my question clearly. Are 'V-View' and 'P-Print' reserved internal print-state variables? I have text on some of my reports that guide the user while in the viewer that I don't want to actually have appear on the printed version should the user decide to print it from the viewer. I *think* what you're suggesting is prompting the user as to whether to view the report or print it. I'm kind of looking to automatically view it first and then conditionally print some objects of it should the user hit the print button. Hope that's clearer! Thanks! : )

Doc
 
You are right on, this is for user interaction and they would indicate if they are printing or viewing, and teh objects would be displayed accordingly. Software Training and Support for Macola, Crystal Reports and Goldmine
714-348-0964
dgilsdorf@mchsi.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top