Page header problem

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

On a report I need to display some controls on all pages except the first
page. I have added these controls to the page header of the report and in
the on format event am using the code;

If page =1 then
ctrl1.visible = false
...
else
ctrl1.visible = true
...
end if

The problem is that once controls are not visible the height of the page
header does not reduce (there is no can shrink property on page detail) and
hence there is a gap on the first page of report. How can I make sure that
if controls are not visible then page header shrinks accordingly?

Thanks

Regards
 
Try using a combination of ReportHeader/PageHeader and set the Report's
PageHeader Property to "Not with Report Hdr".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top