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

How to handle integrate subreports into one report

Status
Not open for further replies.

gransbpa

Programmer
Jun 5, 2001
98
NL
Hi there,

I have a report which should combine several subreports. I'm trying hard to find a way to achieve that every subreport can be coded from within the main report to start on a new page, but I can't seem to find the right syntax.
Does anyone have an idea how to do this?

Thanks.
 
Try adding a page break control in your main report after each subreport. This should accomplish what you're looking for....

Hoc nomen meum verum non est.
 
Thanks CosmoKramer, this works. I was looking at a code level solution, I did not know about this control. Unfortunately this resolves only part of the problem. It works when the subreports don't expand over more than one page, but if they do the borderline around the subreport (which I really need) is broken off, leaving a blank space at the bottom of the report. What I would like is that a subreport requiring more than one page is showing itself as a neatly bordered and closed off unit per page. Do you still have any idea how to accomplish this?

Thanks.
 
No, I don't. I tried drawing a border programatically on a subreport, but that border doesn't appear in the main report.

Hoc nomen meum verum non est.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top