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  

Page Breaks in subreport ignored



 
 
Thread Tools Display Modes
  #1  
Old July 26th, 2004, 07:01 PM
TRob
external usenet poster
 
Posts: n/a
Default Page Breaks in subreport ignored

Access 97 - I have a subreport that needs a page break
after a footer section. I have the page break inserted in
a footer and it runs just fine if I run the subreport by
itself. But when I run the main report that contains the
subreport, the page breaks in the subreport seem to be
ignored.

Is there any way to enforce the page breaks in the
subreport when the main report is run?

Thanks
  #2  
Old July 26th, 2004, 08:35 PM
Marshall Barton
external usenet poster
 
Posts: n/a
Default Page Breaks in subreport ignored

TRob wrote:

Access 97 - I have a subreport that needs a page break
after a footer section. I have the page break inserted in
a footer and it runs just fine if I run the subreport by
itself. But when I run the main report that contains the
subreport, the page breaks in the subreport seem to be
ignored.

Is there any way to enforce the page breaks in the
subreport when the main report is run?



Most page related thing are ignored in subreports (Page
Header/Footer, PageBreak controls, etc?), but a few do seem
to be functional within the limits of a subreport control
(ForceNewPage, RepeatSection, etc??).

You may not get quite what you want and it can get kind of
messy, but try removing the PageBreak control and using the
section's ForceNewPage property instead. This will,
necessarily, require that the subreport control and its
section both have their CanGrow property set to Yes.

If you have the page break control in the middle of the
section (instead of at the end), then you will need to add a
level to Sorting and Grouping using a constant expression
such as =1. You can then place the controls before the
page break in one section and the ones after the page break
in another section.

--
Marsh
MVP [MS Access]
  #3  
Old July 27th, 2004, 12:04 AM
TRob
external usenet poster
 
Posts: n/a
Default Page Breaks in subreport ignored

Thanks! It worked

-----Original Message-----
TRob wrote:

Access 97 - I have a subreport that needs a page break
after a footer section. I have the page break inserted

in
a footer and it runs just fine if I run the subreport by
itself. But when I run the main report that contains

the
subreport, the page breaks in the subreport seem to be
ignored.

Is there any way to enforce the page breaks in the
subreport when the main report is run?



Most page related thing are ignored in subreports (Page
Header/Footer, PageBreak controls, etc?), but a few do

seem
to be functional within the limits of a subreport control
(ForceNewPage, RepeatSection, etc??).

You may not get quite what you want and it can get kind of
messy, but try removing the PageBreak control and using

the
section's ForceNewPage property instead. This will,
necessarily, require that the subreport control and its
section both have their CanGrow property set to Yes.

If you have the page break control in the middle of the
section (instead of at the end), then you will need to

add a
level to Sorting and Grouping using a constant expression
such as =1. You can then place the controls before the
page break in one section and the ones after the page

break
in another section.

--
Marsh
MVP [MS Access]
.

  #4  
Old December 6th, 2004, 03:08 AM
daudihus
external usenet poster
 
Posts: n/a
Default


I have a similar problem. I want to limit the number of records
displayed on a subreport (say 30) and calculate subtotals for those
records. After that I want to force a new page in the main report and
continue to show subtotals in the subreport until all my records on the
subreport are displayed (with a grand total).



--
daudihus
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message895030.html

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
odd page section breaks Bill Mitchell Formatting Long Documents 6 June 17th, 2004 02:20 PM
NUMBERING the pages Bob New Users 7 June 14th, 2004 12:20 AM
converting section breaks to page breaks mestell Mailmerge 2 May 29th, 2004 04:57 PM
Page Breaks Alicia Worksheet Functions 3 March 3rd, 2004 02:08 PM
manipulating page breaks in Excel 2000 angela Worksheet Functions 0 February 19th, 2004 04:40 PM


All times are GMT +1. The time now is 08:26 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.