Stop header/footer appearing in subreport

  • Thread starter Thread starter Associates
  • Start date Start date
A

Associates

Hi,

I have a question in regards to Access report and wonder if i could get some
help with that. I have two reports that i would like to combine into one, say
report1 and report2. The difference between them is report1 is of portrait
page-orientation whereas report2 is of landscape type of orientation.

Then, i thought, to do that, i just added a subreport (which is "report2"
report)to report1 and linked them via a certain number of common fields (in
the child/master link). So that worked fine so far.

In the "repot1" report, it has information (e.g title of company) a header
and footer while report "report2" does not need to have any header or footer.
My question is what should i do to keep the header and footer that appear in
report1 from appearing in the report "report2".

Any help would be greatly appreciated.

Thank you in advance
 
Associates,

Try something like... in Report Header format section:

If Me.txtPage = 2 Then
Me.ReportHeader.Visible = False
End If

Of course, this will only work if you have Page Numbers.
--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 

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

Back
Top