Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 14th, 2006, 01:05 PM
ysh8o1
Guest
 
Posts: n/a
Default Sub-report starts on new page

Hi

I have a report containing two sub-reports in the details section.

The first of these contains a list of records, and appears as a
full width blank rectangle, thick enough to contain at least one
record. Auto grow is also active.

However when there are more records than a page can contain,
rather than print an initial portion on current page, the subreport
systematically begins on the following page.

The second sub-report is smaller in size and when required co-
rrectly divides itself between the end of current and beginning of
the following page.


Any ideas ?

Thanks

ysh

  #2  
Old November 14th, 2006, 03:05 PM
Kc-Mass
Guest
 
Posts: n/a
Default Re: Sub-report starts on new page

Check the "Force new Page property of the subreport

"ysh8o1" <yann.shukor@gmail.comwrote in message
news:1163510894.023001.259270@m73g2000cwd.googlegr oups.com...
Quote:
Hi
>
I have a report containing two sub-reports in the details section.
>
The first of these contains a list of records, and appears as a
full width blank rectangle, thick enough to contain at least one
record. Auto grow is also active.
>
However when there are more records than a page can contain,
rather than print an initial portion on current page, the subreport
systematically begins on the following page.
>
The second sub-report is smaller in size and when required co-
rrectly divides itself between the end of current and beginning of
the following page.
>
>
Any ideas ?
>
Thanks
>
ysh
>

  #3  
Old November 14th, 2006, 04:15 PM
ysh8o1
Guest
 
Posts: n/a
Default Re: Sub-report starts on new page

Hi and thanks for the response

Unfortunately this property is switched off for all sections in the
sub-report

ysh

  #4  
Old November 14th, 2006, 06:15 PM
Rick Brandt
Guest
 
Posts: n/a
Default Re: Sub-report starts on new page

ysh8o1 wrote:
Quote:
Hi and thanks for the response
>
Unfortunately this property is switched off for all sections in the
sub-report
>
ysh
If "keep together" is set to yes and the subreport is too big to fit on a
single page then it will break to a new page first even though the new page
won't be able to hold the whole thing either.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


  #5  
Old November 14th, 2006, 06:25 PM
Kc-Mass
Guest
 
Posts: n/a
Default Re: Sub-report starts on new page

I think there are only three things that can cause a subreport to move to a
new page.
1. The property has to be set to require it - but you checked that.
2. There is some code in an event of the subform (like i"ntGetVal =
Reports![Sales By
Year].Section(acDetail).ForceNewPage")
or
3. there is a pagebreak inserted on the form.

"ysh8o1" <yann.shukor@gmail.comwrote in message
news:1163522007.863995.120020@h54g2000cwb.googlegr oups.com...
Quote:
Hi and thanks for the response
>
Unfortunately this property is switched off for all sections in the
sub-report
>
ysh
>

  #6  
Old November 15th, 2006, 02:05 PM
ysh8o1
Guest
 
Posts: n/a
Default Re: Sub-report starts on new page

Thanks for the responses.

I agree with those three possibilities.

And having rechecked everything I decided to create a new report and
sub-report objects
copying over only the fields from original versions.

Unfortunately, I get the same result.
Stumped am I !

I guess I'll have to toy around with the layout(s) until I get a
satisfactory result.

Cheers

ysh

  #7  
Old November 24th, 2006, 01:45 PM
ysh8o1
Guest
 
Posts: n/a
Default Re: Sub-report starts on new page


ysh8o1 a écrit :
Quote:
Hi
>
I have a report containing two sub-reports in the details section.
>
The first of these contains a list of records, and appears as a
full width blank rectangle, thick enough to contain at least one
record. Auto grow is also active.
>
However when there are more records than a page can contain,
rather than print an initial portion on current page, the subreport
systematically begins on the following page.
>
The second sub-report is smaller in size and when required co-
rrectly divides itself between the end of current and beginning of
the following page.
>
>
Any ideas ?
>
Thanks
>
ysh
Right, I beginning to think that my data is off !

If I place my report's header fields in a page header, the subreport
(which requires more than a page to print) is correctly printed. If
however I place the header fields in a section header, then the same
subreport begins on the next page.

The first option is fine, except that the fields in the page header
section don't get updated in sync with the data in the details section
(i.e. subreport data) but are 'one record' behind

The second option insures that the header info is correct,
unfortunately the data is printed one page behind !

Sorry if all this seems confusing to you - you should see the mess in
my head right now !

Rgds

ysh

  #8  
Old November 27th, 2006, 01:45 AM
Kc-Mass
Guest
 
Posts: n/a
Default Re: Sub-report starts on new page

Check the "KeepTogether" setting for your subreport.
If set to true it will start at the top of a page regardless of whether
or not it can fit in a page.


"ysh8o1" <yann.shukor@gmail.comwrote in message
news:1164376953.269669.115850@l12g2000cwl.googlegr oups.com...

ysh8o1 a écrit :
Quote:
Hi
>
I have a report containing two sub-reports in the details section.
>
The first of these contains a list of records, and appears as a
full width blank rectangle, thick enough to contain at least one
record. Auto grow is also active.
>
However when there are more records than a page can contain,
rather than print an initial portion on current page, the subreport
systematically begins on the following page.
>
The second sub-report is smaller in size and when required co-
rrectly divides itself between the end of current and beginning of
the following page.
>
>
Any ideas ?
>
Thanks
>
ysh
Right, I beginning to think that my data is off !

If I place my report's header fields in a page header, the subreport
(which requires more than a page to print) is correctly printed. If
however I place the header fields in a section header, then the same
subreport begins on the next page.

The first option is fine, except that the fields in the page header
section don't get updated in sync with the data in the details section
(i.e. subreport data) but are 'one record' behind

The second option insures that the header info is correct,
unfortunately the data is printed one page behind !

Sorry if all this seems confusing to you - you should see the mess in
my head right now !

Rgds

ysh


 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles