G
Guest
Hi
i have a report that can have between 4 to 6 pages depending on amount of
data in record. when i have multiple records (eg . 3) i can have up to 18
pages. i want group header to print on first page of record i.e. pages 1, 7,
13 and only want page header to appear on pages that don't have group header
i.e. pages 2-6, 8-12, 14-18. i reset page number in group header format to
"page = 1".
i have tried following code on page header format:
If Page = 1 Then
PageHeaderSection.Visible = False
Else
PageHeaderSection.Visible = True
End If
but on pages 7 and 13 get both page header and group header, and if i place
a field in the page header with control source = [page] the page numbers on
pages 7 and 13 show as 7 and 13 instead of 1.
i know why this is happening, as i am only resetting page number to 1 in
group header which comes after page header, but want to know how to get
around this.
any suggestions would be appreciated.
thanks
i have a report that can have between 4 to 6 pages depending on amount of
data in record. when i have multiple records (eg . 3) i can have up to 18
pages. i want group header to print on first page of record i.e. pages 1, 7,
13 and only want page header to appear on pages that don't have group header
i.e. pages 2-6, 8-12, 14-18. i reset page number in group header format to
"page = 1".
i have tried following code on page header format:
If Page = 1 Then
PageHeaderSection.Visible = False
Else
PageHeaderSection.Visible = True
End If
but on pages 7 and 13 get both page header and group header, and if i place
a field in the page header with control source = [page] the page numbers on
pages 7 and 13 show as 7 and 13 instead of 1.
i know why this is happening, as i am only resetting page number to 1 in
group header which comes after page header, but want to know how to get
around this.
any suggestions would be appreciated.
thanks