M
massimo
Hi to all,
I have a report, that will be printed on max. 3 pages.
The first and second page should contain the group-header and the detail
section.
The third page, if the detail section is not printed, should contain only
the footer-page.
The group-header (MyGroupHeader1), in this case, must not appear.
I tried with this code, but doesn't work:
- Page-header onFormat:
CounterDetail = 0
- Detail-Section onFormat:
CounterDetail = CounterDetail+1
- Page-Footer onFormat:
If CounterDetail > 0 Then
MyGroupHeader1.Visible = True
Else
MyGroupHeader1.Visible = False
End If
Thanks for any assistance,
Massimo
I have a report, that will be printed on max. 3 pages.
The first and second page should contain the group-header and the detail
section.
The third page, if the detail section is not printed, should contain only
the footer-page.
The group-header (MyGroupHeader1), in this case, must not appear.
I tried with this code, but doesn't work:
- Page-header onFormat:
CounterDetail = 0
- Detail-Section onFormat:
CounterDetail = CounterDetail+1
- Page-Footer onFormat:
If CounterDetail > 0 Then
MyGroupHeader1.Visible = True
Else
MyGroupHeader1.Visible = False
End If
Thanks for any assistance,
Massimo