Can't shrink header in report by code

  • Thread starter Thread starter Ross
  • Start date Start date
R

Ross

Hi,

I am trying to shrink the header in my report so I can
raise the detail section all the way up to the top of my
page. I am trying to do this through code.

I have tried the following:

Me.PageHeaderSection.Height = 0
Me.Section(acDetail).Height = 0

But my detail section still prints approximately 1/3 from
the top.

Help anyone, Thanks
Ross
 
Ross said:
I am trying to shrink the header in my report so I can
raise the detail section all the way up to the top of my
page. I am trying to do this through code.

I have tried the following:

Me.PageHeaderSection.Height = 0
Me.Section(acDetail).Height = 0

But my detail section still prints approximately 1/3 from
the top.

You can only change the Page Header Height in design view
(it doesn't even have the Can Grow/Shrink properties).

However, you can make the following (not the current) pages'
Page Header invisible:

Me.Section(3).Visible = False

You can also Cancel the Format event to suppress the current
page's Page Header.
 
Back
Top