Results 1 to 2 of 2
  1. #1
    Mover is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2014
    Posts
    1

    Show Page header only on pages without Group header

    Hi,



    I have a report based on a query.
    The report is grouped and sorted.

    I want to have the page header only shown on this report, whenever the detail area is shown.
    Detail area in my report will never be on page one (as page one is the "form" and page(s) 2+ are the attachment to the "form").

    I have tried with
    Private Sub Gruppenkopf0_Format(Cancel As Integer, FormatCount As Integer)
    If Me.Gruppenkopf0.Visible = False Then
    Me.Seitenkopfbereich.Visible = True
    Else
    Me.Seitenkopfbereich.Visible = False
    End If
    End Sub
    but no success.

    Also tried with
    Private Sub Gruppenkopf0_Format(Cancel As Integer, FormatCount As Integer)
    If Me.Detailbereich.Visible = True Then
    Me.Seitenkopfbereich.Visible = True
    Else
    Me.Seitenkopfbereich.Visible = False
    End If
    End Sub
    but also no success.

    As I am on a german version of access,
    "Gruppenkopf0" represents the group header
    "Seitenkopfbereich" represents the page header
    "Detailbereich" represents the detail area.

    Would be nice if someone is willing to share some ideas on how to solve this.

    Thanks a lot,

    Mover

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    How is the page one "form" defined? I tested stretching the report header section to a size that forces the detail to begin on page 2. Page header does not show on page 1.

    I also tested a PageBreak control in the Report header. Page and Group headers start on second page.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 3
    Last Post: 03-15-2014, 10:38 AM
  2. Page header won't show in switchboard
    By sevanty7 in forum Forms
    Replies: 1
    Last Post: 05-15-2013, 08:19 AM
  3. Replies: 0
    Last Post: 02-25-2013, 04:43 PM
  4. Replies: 3
    Last Post: 04-17-2012, 10:59 AM
  5. Replies: 3
    Last Post: 08-07-2011, 09:22 PM

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