2 (two) Page Head

  • Thread starter Thread starter Bo Gustafsson
  • Start date Start date
B

Bo Gustafsson

I have Report where I want to have " 2 (two) Page Head".

On the first Page Head I want just only a Picture and on the second Page
Head I want to have Headlines and Article Details.

The report will bee an instruction book where the first Page is to the left
and the second Page is to the right.

The Article Details can be many Pages and for every Article Page I want to
write this

"2 (two) Page Head".



I have tried to design all of this in the Report Page Head Section and new
Page separator

between the Picture and Headlines but it does not work.



I also tried to design the Headlines in a Group with Repeat Section =True
but it does not work.



Any ideas how to do this?

Any help would be greatly appreciated.





Bo Gustafsson

Sweden



Ps. I have Microsoft Access version 2000
 
For alternating page headers, place both the image and the text in the Page
Header section.

In the Format event procedure of the section, toggle the Visible property
based in the value of the report's Page number:

Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As
Integer)
Dim bIsOdd As Boolean

If (Me.Page Mod 2) = 1 Then
bIsOdd = True
End If

Me.[MyImage].Visible = bIsOdd
Me.[MyTextbox].Visible = Not bIsOdd
End Sub
 
Thanks for the tip but this will not work as I wish.

I want the Image to start at the Top of odd Page
and the Headlines start at the Top of even Page followed by Articles
Details.
When Article Details is more then two Pages I want to print "2 (two) Page
Head".
First the Image start at the Top of odd Page and then the Head Lines
followed by Articles details start on the even Page.
Nov I start Print the Image followed by Article lines at the Top of odd
Page
and the Image will give me space between Headlines and following Articles
Details
on the even Page.

Bo Gustafsson

Allen Browne said:
For alternating page headers, place both the image and the text in the Page
Header section.

In the Format event procedure of the section, toggle the Visible property
based in the value of the report's Page number:

Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As
Integer)
Dim bIsOdd As Boolean

If (Me.Page Mod 2) = 1 Then
bIsOdd = True
End If

Me.[MyImage].Visible = bIsOdd
Me.[MyTextbox].Visible = Not bIsOdd
End Sub

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

Bo Gustafsson said:
I have Report where I want to have " 2 (two) Page Head".

On the first Page Head I want just only a Picture and on the second Page
Head I want to have Headlines and Article Details.

The report will bee an instruction book where the first Page is to the left
and the second Page is to the right.

The Article Details can be many Pages and for every Article Page I want to
write this

"2 (two) Page Head".

I have tried to design all of this in the Report Page Head Section and new
Page separator

between the Picture and Headlines but it does not work.

I also tried to design the Headlines in a Group with Repeat Section =True
but it does not work.

Ps. I have Microsoft Access version 2000
 
I'm not 100% clear on what you want to acheive, but you might try using a
group header of some kind over your articles. Put the image and nothing else
into this Group Header section. Print the section on a page on its own.

Then use another Group Header on the same field if you have info you want to
start printing on the next page.

If you need to print a blank page after 2 detail pages so that the image
always stays on the odd page number, you could add a Page Break control and
toggle its Visible property, or you could add a 3rd group header on the same
field and set its PrintSection property. (Page Break controls do have a
Visible property, even though they don't show up in Intellisense.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

Bo Gustafsson said:
Thanks for the tip but this will not work as I wish.

I want the Image to start at the Top of odd Page
and the Headlines start at the Top of even Page followed by Articles
Details.
When Article Details is more then two Pages I want to print "2 (two) Page
Head".
First the Image start at the Top of odd Page and then the Head Lines
followed by Articles details start on the even Page.
Nov I start Print the Image followed by Article lines at the Top of odd
Page
and the Image will give me space between Headlines and following Articles
Details
on the even Page.

Bo Gustafsson

Allen Browne said:
For alternating page headers, place both the image and the text in the Page
Header section.

In the Format event procedure of the section, toggle the Visible property
based in the value of the report's Page number:

Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As
Integer)
Dim bIsOdd As Boolean

If (Me.Page Mod 2) = 1 Then
bIsOdd = True
End If

Me.[MyImage].Visible = bIsOdd
Me.[MyTextbox].Visible = Not bIsOdd
End Sub

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

Bo Gustafsson said:
I have Report where I want to have " 2 (two) Page Head".

On the first Page Head I want just only a Picture and on the second Page
Head I want to have Headlines and Article Details.

The report will bee an instruction book where the first Page is to the left
and the second Page is to the right.

The Article Details can be many Pages and for every Article Page I
want
 
Thanks for your help.
I have now solved the problem
by using a Group Header section with the image
and headlines in the same section but
separated by the mark for new page and Repeat Section =True.

I have another question about printing Image.
The customer wants the image in WMF-format
and the image-field is designed as an Active-X
in my database.
The problem is when I insert the image in my form
it will always be an icon instead of a picture and
when I print the field it is also printed as an icon.

How will I do to have the image printed as picture
instead of icon for an image in WMF-format?
What image-format is the best to use in Ms Acess
database for this purpose?

Thanks
Bo Gustafsson

Allen Browne said:
I'm not 100% clear on what you want to acheive, but you might try using a
group header of some kind over your articles. Put the image and nothing else
into this Group Header section. Print the section on a page on its own.

Then use another Group Header on the same field if you have info you want to
start printing on the next page.

If you need to print a blank page after 2 detail pages so that the image
always stays on the odd page number, you could add a Page Break control and
toggle its Visible property, or you could add a 3rd group header on the same
field and set its PrintSection property. (Page Break controls do have a
Visible property, even though they don't show up in Intellisense.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

Bo Gustafsson said:
Thanks for the tip but this will not work as I wish.

I want the Image to start at the Top of odd Page
and the Headlines start at the Top of even Page followed by Articles
Details.
When Article Details is more then two Pages I want to print "2 (two) Page
Head".
First the Image start at the Top of odd Page and then the Head Lines
followed by Articles details start on the even Page.
Nov I start Print the Image followed by Article lines at the Top of odd
Page
and the Image will give me space between Headlines and following Articles
Details
on the even Page.

Bo Gustafsson

Allen Browne said:
For alternating page headers, place both the image and the text in the Page
Header section.

In the Format event procedure of the section, toggle the Visible property
based in the value of the report's Page number:

Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As
Integer)
Dim bIsOdd As Boolean

If (Me.Page Mod 2) = 1 Then
bIsOdd = True
End If

Me.[MyImage].Visible = bIsOdd
Me.[MyTextbox].Visible = Not bIsOdd
End Sub

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

I have Report where I want to have " 2 (two) Page Head".

On the first Page Head I want just only a Picture and on the second Page
Head I want to have Headlines and Article Details.

The report will bee an instruction book where the first Page is to the
left
and the second Page is to the right.

The Article Details can be many Pages and for every Article Page I
want
to
write this

"2 (two) Page Head".

I have tried to design all of this in the Report Page Head Section
and
new
Page separator

between the Picture and Headlines but it does not work.

I also tried to design the Headlines in a Group with Repeat Section =True
but it does not work.

Ps. I have Microsoft Access version 2000
 
An embedded WMF should work, I would have thought.
If you are totally stuck, you can always use a BMP.

Best place to find out about anything graphical in Access is www.lebans.com
 
Back
Top