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

Change paper size by parameter?

Status
Not open for further replies.

kraber

Technical User
Dec 5, 2003
10
US

Is there any way to change the page size / paper size based on a user-selected parameter?

I have a report where the user can select via a paramter to display or not to display details. If details are not shown, I hide certain columns that are not summarized (dates, for example). My detail report prints on legal paper, but the summary report can print on a letter-sized page.

I'm using CR7, by the way...

Thanks!

-Karyl
 
No. At least not within CR or using a CR parameter.
If you are using a VB (or similar) front end to drive your reports then you might be able to but I don't know how to do that.

 
Could you not create a second report with the detail suppressed and give the user the choice of which report to run?
 

Yes, a second report is definitely an option. This particular user is notorious, though, for requesting additions and changes after he's been using the report for a while - and it is so much easier when I have a single report to change rather than two...

I was thinking it wasn't likely that I'd be able to do that. Thanks for confirming my suspicions!

-Karyl
 
A general comment. Whilt it's always irritating to get requests for additions and changes, it does at least indicate that you've written something that's valued, valued so much that someone wants to fine-tune it.

We tend to take the same attitude when useing software that other people have written. Why can't it do something extra? Like suppressing a section based on the subreport value, which caused irritation in 8.5 and is apparantly fixed in Crystal 9.

As for doing the same changes twice, you can save a lot of time by cut-and-paste.

[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top