Page breaking between records in a subreport (1 Viewer)

DavidG3276

Registered User.
Local time
Today, 06:44
Joined
Jun 1, 2013
Messages
30
I have a report in which there is a subreport that prints towards the bottom of the page. I know that I can use grouping to have the subreport print on the next page if the entire subreport cannot print on the current page. However, I want to have the break occur not for the section as a whole but between records. Let me illustrate this.

All sorts of other stuff prints at the top. At the bottom, I have a subreport which today prints the following on the first page and breaks the last record in two printing the second line on the next page.

First Page of the Report:
_________________________________________________________________
Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX

Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX

Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
_________________________________________________________________
Second Page of the Report:
_________________________________________________________________
Doctor's Location: XXXXXXXXXXXX
_________________________________________________________________

What I would like to do is the following:

First Page of the Report:
_________________________________________________________________
Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX

Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX
_________________________________________________________________
Second Page of the Report:
_________________________________________________________________
Doctor's Full Name: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Doctor's Location: XXXXXXXXXXXX
_________________________________________________________________

Is it possible to specify that if a complete record within a subreport cannot be printed on the same page to break to the next page without having the whole subreport break to the next page? Thanks in advance for your help. Even if the answer is "No", that will help me as well.
 

David R

I know a few things...
Local time
Today, 08:44
Joined
Oct 23, 2001
Messages
2,633
Grouping and Keep Together (somebody just had this same problem yesterday). Exactly where you want to add the 'arbitrary' Group will depend on where you want to avoid the page break.
 

DavidG3276

Registered User.
Local time
Today, 06:44
Joined
Jun 1, 2013
Messages
30
I don't understand how creating an arbitrary group will help me in this case since we are talking about breaking on a complete record within a group. If you can help me understand that, I would be very grateful. Thanks!
 

David R

I know a few things...
Local time
Today, 08:44
Joined
Oct 23, 2001
Messages
2,633
Sorry, I got your question backwards. You'll want to try Detail > Format > Keep Together in your subreport then, no grouping needed.
 

Users who are viewing this thread

Top Bottom