NEED TO DETERMINE SUBREPORT NAME BEING PRINTED WHEN PAGE BEGINS

T

tenap

I'm trying to determine which subreport is being printed when the page number
is 2 or more, so that the page header can reflect the correct header info for
the subreport being printed.
 
G

Gary Walter

tenap said:
I'm trying to determine which subreport is being printed when the page
number
is 2 or more, so that the page header can reflect the correct header info
for
the subreport being printed.

Hi tenap,

I believe Duane's clever method for handling
page headers in subreports will provide what
you want:

***quote***
Page sections will not show in a subreport.

You can "fake" a page header by creating
a primary sorting and grouping section on
a constant value like:
=1
<in your subreport>

Show the Header section for this grouping level.
Move controls from your Page header section
to the =1 header section.

Set the =1 header "Repeat Section" property
to Yes.
 
Top