A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

troubleshooting new page in access 2003



 
 
Thread Tools Display Modes
  #1  
Old July 22nd, 2007, 10:04 AM posted to microsoft.public.access.reports
kalman
external usenet poster
 
Posts: 9
Default troubleshooting new page in access 2003

I am printting a 4 group level where for every change in the 2 first
groupes they should be a new page. What happens is when the first
group is changing I had a page with only the title of the group and
remaining empty ???

  #2  
Old July 22nd, 2007, 04:43 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default troubleshooting new page in access 2003

kalman wrote:

I am printting a 4 group level where for every change in the 2 first
groupes they should be a new page. What happens is when the first
group is changing I had a page with only the title of the group and
remaining empty ???



Set the top level group header section's ForceNewPage
property to BeforeSection.

Use code in the top level group header section's Format
event to keep the second level header on the same page as
the top level group header section:
Me.Section(7).ForceNewPage = False

To get subsequent second level headers on a new page, use
the second level group footer section's Format event:
Me.Section(7).ForceNewPage = True

--
Marsh
MVP [MS Access]
  #3  
Old July 23rd, 2007, 08:17 AM posted to microsoft.public.access.reports
kalman
external usenet poster
 
Posts: 9
Default troubleshooting new page in access 2003

On Jul 22, 12:04 pm, kalman wrote:
I am printting a 4 group level where for every change in the 2 first
groupes they should be a new page. What happens is when the first
group is changing I had a page with only the title of the group and
remaining empty ???


Dear Marshall
Thank you indeed.
I had tryed your solution ( leaving in properties only for top level
group)
What happens is:
- second level header (with detail) is not on new page
- still having "blank page" with only first level header printed on
when first level is changing
Thank you in advance

Kalman

  #4  
Old July 23rd, 2007, 10:42 AM posted to microsoft.public.access.reports
kalman
external usenet poster
 
Posts: 9
Default troubleshooting new page in access 2003

On Jul 22, 6:43 pm, Marshall Barton wrote:
kalman wrote:
I am printting a 4 group level where for every change in the 2 first
groupes they should be a new page. What happens is when the first
group is changing I had a page with only the title of the group and
remaining empty ???


Set the top level group header section's ForceNewPage
property to BeforeSection.

Use code in the top level group header section's Format
event to keep the second level header on the same page as
the top level group header section:
Me.Section(7).ForceNewPage = False

To get subsequent second level headers on a new page, use
the second level group footer section's Format event:
Me.Section(7).ForceNewPage = True

--
Marsh
MVP [MS Access]


Dear Marshall

The problem was that in designing the page in landscape there was an
overflow (too many empty lines) causing group title being on new page
without details records.

Is there a function getting information if you are going to print a
page without group detail records ?

  #5  
Old July 23rd, 2007, 03:37 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default troubleshooting new page in access 2003

kalman wrote:

On Jul 22, 6:43 pm, Marshall Barton wrote:
kalman wrote:
I am printting a 4 group level where for every change in the 2 first
groupes they should be a new page. What happens is when the first
group is changing I had a page with only the title of the group and
remaining empty ???


Set the top level group header section's ForceNewPage
property to BeforeSection.

Use code in the top level group header section's Format
event to keep the second level header on the same page as
the top level group header section:
Me.Section(7).ForceNewPage = False

To get subsequent second level headers on a new page, use
the second level group footer section's Format event:
Me.Section(7).ForceNewPage = True


The problem was that in designing the page in landscape there was an
overflow (too many empty lines) causing group title being on new page
without details records.

Is there a function getting information if you are going to print a
page without group detail records ?



I don't understand what you are trying to describe. What
does "there was an overflow (too many empty lines)" mean?

Landscape/portrait should have nothing to do with whatever
problem you are having.

It is impossible to have a group header with no detail
records. You might have a detail record with Null values in
some/many fields, but there can not be a group without at
least one detail.

You can determine the number of details in a group by using
a text box with the expression =Count(*) in the group header
section.

--
Marsh
MVP [MS Access]
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.