Home RAP
New Blog Posts: Merging Reports - Part 1 and Part 2

Problem With PageNo

edited January 2006 in RAP
Hi,

Using RB9.02, I am conditionally suppressing bands and pages in RAP for a
section subreport. The conditional value is an aggregate record value (SUM)
so I cannot exclude records through DADE which would be my preference.

In the BeforeGroupBreak event I am setting the NewPage and Visible
properties and this works perfectly such that only the expected output is
generated. Unfortunately, the Report.PageNo value is not reset on group
break so the page numbering for each group is incorrect.

If I remove the conditional NewPage setting from the BeforeGroupBreak event,
PageNo is reset on the group breaks, but of course, blank pages are
displayed.

Is there a way that I can have both the correct output generated and the
page numbers correct for each group?

--

Bob
This discussion has been closed.