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!

Report resizing

Status
Not open for further replies.

eatwork

Technical User
May 16, 2005
155
CA
HI I was wondering if anyone knows how to dynamically resize, hide subreport sections, based on the number of pages the report is. The reason for this is that my report can shrink and grow as needed and it is often printing on two pages, but the second page contains one section that is only one or two lines long. I want to try to either hide that subreport or shrink the font/linespacing etc to make it fit into one page if possible, or extend the first page with extra linesto fill out the second page a little more. Any help would be greatly appreciated. Thank you
 
I wouldnt know the code, but I would say that on print, you would need an even to check page:

if pagecount >1 then...

you have to decide what you want, so you might just say hide footer

then check it again, and if still >1 decrease all font(that might be hard to do for all objects.)


misscrf

It is never too late to become what you could have been ~ George Eliot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top