How to start a new page if there isn't enough space in the detail band?
Hi,
i have a report where in the detail band i print the contents of a table and for each printed record i run a query. The results of
this query are displayed in a subreport also located in the detail band. The problem is that i don't know what to do so that the
detail band would start printing on the next page if there isn't enough space to print on the current. I'd like at least one record
of the subreport to be printed before skipping to the next page - which is not the case now, because sometimes only the labels above
the data fields (not the fields of the subreport) are printed on one page and the data fields plus the subreport in the next.
Any suggestions?
Thanks
i have a report where in the detail band i print the contents of a table and for each printed record i run a query. The results of
this query are displayed in a subreport also located in the detail band. The problem is that i don't know what to do so that the
detail band would start printing on the next page if there isn't enough space to print on the current. I'd like at least one record
of the subreport to be printed before skipping to the next page - which is not the case now, because sometimes only the labels above
the data fields (not the fields of the subreport) are printed on one page and the data fields plus the subreport in the next.
Any suggestions?
Thanks
This discussion has been closed.
Comments
i put a TppRegion component over the whole detail band and set its KeepTogether property to true.
I tried this approach already before posting the question, but it seems that not all of the components were inside the region (i
print almost to the margins of the page ), so it didn't work.
components, you will typically find that the other components
are not "in" the region.
Try cutting each component, click on on the region and paste.
Use the report tree to verify.
Jon