I have a report with 2 subreports. The subreports are in a groupheader. I want to insert a page break in between the subreports if the second subreport happens to be more than 8 inches (11,520 twips) below the top of the paper.
I can get the distance of the group header from the top of the paper using me.Top on the OnFormat Event of the group header, but ctl.Top just gives me the control's original top value, not its top value after the subreport above it was filled with records. (The two subreports will have different numbers of records each time the report runs)
I can't find anything in the forums or the help files. Has anyone had experience with this.
Thanks!
I can get the distance of the group header from the top of the paper using me.Top on the OnFormat Event of the group header, but ctl.Top just gives me the control's original top value, not its top value after the subreport above it was filled with records. (The two subreports will have different numbers of records each time the report runs)
I can't find anything in the forums or the help files. Has anyone had experience with this.
Thanks!