Results 1 to 4 of 4
  1. #1
    wubbit is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    24

    Trying to get a header on pages 2 - xxx only.... won't work

    Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer)
    If Me.Page = Me.Pages Then
    Me.PageHeaderSection.Visible = True
    Else


    Me.PageHeaderSection.Visible = False
    End If
    End Sub

    I have a Report Header already and created a Page Header that I would like to show only on pages 2 +. I found a helpful post here, but it doesn't seem to work. The content of the header is the report number and a control number. Not sure where I went wrong on this but the code above should work, I am told.

    Thanks for the assistance in advance!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    wubbit is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2012
    Posts
    24
    Thanks, that helps!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. MSAccess and ADP (web pages)
    By maxcannon in forum Access
    Replies: 0
    Last Post: 01-20-2012, 02:45 PM
  2. Report pages
    By combine21 in forum Reports
    Replies: 1
    Last Post: 03-05-2011, 04:39 PM
  3. Web Pages
    By luizap in forum Access
    Replies: 1
    Last Post: 07-28-2010, 03:58 PM
  4. Blank pages between report pages
    By jonsuns7 in forum Reports
    Replies: 2
    Last Post: 10-01-2009, 05:06 AM
  5. pages
    By hokie in forum Reports
    Replies: 0
    Last Post: 07-16-2009, 10:08 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums