Problems With Subreports

D

Don

On a main report page I have a simple subreport. On the subreport, I put
the headings of the items which are shown in the detail section. The
subreport has been successfully placed on the main report. However, when I
preview or print the main report, the test in the page header section of the
subreport is omitted.

Is there a way to get the page header of the subreport to print in the main
report? Or is the omission of the page header in a subreport by design? If
the latter, is there a good way to put column headers on a sub report other
than putting them in the main report? It seems a pain to have the columns
in the subreport then have to put the headers in the main report.
Especially if the subreport is changed.

Any ideas will be greatly appreciated!!

Thanks!

Don
 
M

Mark A. Sam

Don,

The page header should print as a subreport. Check the Visible property of
the page header bu clicking it and opening the property sheet. Also Check
the properties for the report. There is one called Page Header. It should
be set to "All Pages". If those are ok, delete the subform and reinsert it.
I may be corrupted.

God Bless,

Mark A.Sam
 
D

Duane Hookom

Page sections and events are ignored on subreports. You can set a primary
sorting and grouping level to a constant like:
=1
Show the group header and set the =1 group header Repeat Section property to
Yes. Use this section as your report's page header.
 
D

Don

Duane,

That did the trick!

Thanks!

Don



Duane Hookom said:
Page sections and events are ignored on subreports. You can set a primary
sorting and grouping level to a constant like:
=1
Show the group header and set the =1 group header Repeat Section property to
Yes. Use this section as your report's page header.
 
M

Mark A. Sam

Thanks Duane,

You are right. I see that I have reports using the same method. Its been
so long since I created them I had forgotten.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top