PC Review


Reply
Thread Tools Rate Thread

How change Report's PageHeader Height programatically in PageHeaderSection_Format?

 
 
paul.schrum@gmail.com
Guest
Posts: n/a
 
      18th Feb 2011
Developing in Access 2007 to extend a 2003 .mdb file.

I would like to change the Height of the PageHeader of a report
depening on whether or not it is Page = 1.

But the Object Browser says Report.PageHeader is type Byte, so there
is no .PageHeader.Height or anything else.

Further, when I say

Dim i as Integer
i = [Report_MyReport].PageHeader

i = 0.

This is when I am in Private Sub PageHeaderSection_Format(Cancel As
Integer, FormatCount As Integer)

Is there any way I can do what I need to do, change the Page Header
size programatically?

Thanks in advance for all help.

- Paul Schrum
Raleigh, NC
 
Reply With Quote
 
 
 
 
paul.schrum@gmail.com
Guest
Posts: n/a
 
      19th Feb 2011
Marshall,

Thank you very much.

- Paul

On Feb 18, 7:20*pm, Marshall Barton <marshbar...@wowway.com> wrote:
>
> The default name of the page header section is
> PageHeaderSection, so you should be using:
> * *Me.PageHeaderSection.Height
> or
> * *Me.Section(1).Height
>
> --
> Marsh
> MVP [MS Access]- Hide quoted text -
>
> - Show quoted text -


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Line Colour Programatically in a Report Simon Microsoft Access Reports 1 18th Nov 2008 12:06 PM
Each Change in PageHeader =?Utf-8?B?QmVuIEFkYW1z?= Microsoft Access Reports 1 28th Apr 2006 06:05 AM
How to Programatically change a detail report to a group report? =?Utf-8?B?bmlja3B1cA==?= Microsoft Access Reports 1 11th Oct 2004 08:12 AM
Labels In Pageheader Of Report Melissa Microsoft Access Getting Started 6 22nd Sep 2004 08:34 PM
Labels In Pageheader Of Report Melissa Microsoft Access Form Coding 6 22nd Sep 2004 08:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:52 AM.