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

Quickreport page break

Status
Not open for further replies.

abbath8

Programmer
Sep 20, 2003
40
HU
Hi,

I have a problem in Quickreport. There are a detail band, which prints variable quantity of data. There are another bands before the detail band so the detail band starts from the middle of the page and (normally) the rows continue on the next page if the space on the page is not enough to display the whole content.
I want the band to start on the next page IF the space is not enough to display all data, else it should start after the previous bands. How to do this?

Thanks.
 
You can use the object inspector at design time on the required band and set its force new page value to true.



He was twitching because he's got my axe embedded in his nervous system!
 
The ForceNewPage is not appropriate, because it always sends the band to a new page. I only need the band to go to a new page if the current page has not enough room to display the whole content of the band.
 
I would figure out how many records the band can hold on the single page, if there are more than that number of records in the query/table then call the ForceNewPage.

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top