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