A
Allison
Hello,
I asked and received the below advice for how to print a set of labels
one-time only, below the page header.
This code does do that. But, it leaves all the white space reserved for
this on each successive page.
How do I get rid of all the white space on each successive page, so that the
detail prints right after the header?
Thanks for any help you can give.
Prior advice:
Add a control to the report that computes [Pages] (if you don't
already have one, i.e. = "Page " & [Page] & " of " & [Pages]).
You can make it not visible if you don't want to display it.
Add whatever text boxes you need to the top portion of the Group
Header.
Then code the Group Header Format event:
Me.[ControlName1].Visible = Me.[Page] = 1
Me.[ControlName2].Visible = Me.[Page] = 1
etc.
Those controls will only appear on the first page.
Do similar for the Group Footer controls, except this time place the
controls at the bottom portion of the Footer and code the GroupFooter
Format event:
Me.[ControlName1].Visible = Me.[Page] = [Pages]
Me.[ControlName2].Visible = Me.[Page] = [Pages]
etc.
These controls will only appear on the last page group footer.
Set the GroupHeader and GroupFooter CanShrink property to Yes.
I asked and received the below advice for how to print a set of labels
one-time only, below the page header.
This code does do that. But, it leaves all the white space reserved for
this on each successive page.
How do I get rid of all the white space on each successive page, so that the
detail prints right after the header?
Thanks for any help you can give.
Prior advice:
Access 2003, XP SP 2
I have a report, grouped by alphabet.
I need one set of instructions BELOW the page header, on the first page
only. Same for end of report.
Like this:
{Page Header}
[One-time text on first page only]
{Group Header}
[Detail]
[One-time text on last page only]
{Page Footer}
I tried using {Report Header}, but it prints the Rpt Header first, then the
Page Header and I need it reversed.
Any suggestions?
Add a control to the report that computes [Pages] (if you don't
already have one, i.e. = "Page " & [Page] & " of " & [Pages]).
You can make it not visible if you don't want to display it.
Add whatever text boxes you need to the top portion of the Group
Header.
Then code the Group Header Format event:
Me.[ControlName1].Visible = Me.[Page] = 1
Me.[ControlName2].Visible = Me.[Page] = 1
etc.
Those controls will only appear on the first page.
Do similar for the Group Footer controls, except this time place the
controls at the bottom portion of the Footer and code the GroupFooter
Format event:
Me.[ControlName1].Visible = Me.[Page] = [Pages]
Me.[ControlName2].Visible = Me.[Page] = [Pages]
etc.
These controls will only appear on the last page group footer.
Set the GroupHeader and GroupFooter CanShrink property to Yes.