Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add header and footer to page for printing

Status
Not open for further replies.

womblies

Programmer
Feb 28, 2003
62
0
0
IE
when i'm printing i want to be able to add a title to my page in the header and footer section how can i do this?
 
Hi, Maybe this will help,
Place a label into the header and footer and leave them blank, then before you show or print the page, populate the label with a line like:

ReportName.Sections(1).Controls("Label1").Caption = "This is the Title"

Where ReportName = the name you have for your report
Sections(1) = the first section on the report
Label1 = the label name on the report

Hope this is what you need...


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top