My Sub Report Headers do not no print?

E

efandango

I have a Sub Report inside the detail section of a Main Report, but I cannot
get the Sub Report Headers to Print. The Headers are on the page Header of
the Sub Report and are set to Display always in the properties. I tried
re-creating the report, but still get the same non-printing headers.

I am using Access 2007. does anyone know if this is a known issue or what I
may be doing wrong?
 
D

Duane Hookom

Subreports have no concept of "Page". You should move any page section
controls to the subreport Report Header section.
 
M

Marshall Barton

efandango said:
I have a Sub Report inside the detail section of a Main Report, but I cannot
get the Sub Report Headers to Print. The Headers are on the page Header of
the Sub Report and are set to Display always in the properties. I tried
re-creating the report, but still get the same non-printing headers.

I am using Access 2007. does anyone know if this is a known issue or what I
may be doing wrong?

Since the main repot is "in charge" of the pages, subreport
page header/footer sections and the page event are ignored.
To get what you want, you have to use VBA code somewhere to
manipulate the main report page header/footer sections.
Where and when you do what depends on exactly what you are
trying to display in the header/footer sections.
 
E

efandango

Thanks for that reply Duane.

regards

Eric



Duane Hookom said:
Subreports have no concept of "Page". You should move any page section
controls to the subreport Report Header section.
 
V

Valerie Wong

Hi,

I also have the same problem. I will need to resolve via VB Code, as I have
a report with subreport, and the subreport only shows on the first page but
not on the second page if it goes on. Where and how do I do this? Please
could you tell me step by step how to do it?

Regards,
valerie
 
M

Marshall Barton

Valerie said:
I also have the same problem. I will need to resolve via VB Code, as I have
a report with subreport, and the subreport only shows on the first page but
not on the second page if it goes on. Where and how do I do this? Please
could you tell me step by step how to do it?


That sounds like a different problem. If the subreport is
being truncated, then set the subreport control's and its
section's CanGrow property to Yes

If you some kind of problem with the page header, please
explain with some details.
 

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