O$: report page break
Terence J. young, DC
terry.young at journeymhc.org
Wed Jul 10 00:18:07 EDT 2013
Hi Jim,
for any given font, there are a certain number of lines per inch. You
could add a field to each line of the list that indicates the total
number of student records for each school.
When looping thru the list, do some extra logic if the school changes to
see if you need to do a page break. When the page breaks, reset a
linesprintcount to and then increment it by the lines required for a
header and for a record.
terry
On 7/9/13 2:05 PM, Jim Pistrang wrote:
> Hi all,
>
> In the category of I really should know this....
>
> I have a report based on a list that loops through the list and does a Print Record for each line in the list. There is a single subtotal level in the report, with a Subtotal Header section. Usually there are 2 or 3 records for each section, but occasionally there are more or less. I want to break to a new page for a new header whenever the detail records will not fit on the old page. How can I do this?
>
> The report output looks like this:
>
> SCHOOL
> student record
> student record
> SCHOOL
> student record
> SCHOOL
> student record
> student record
> student record
> student record
> SCHOOL
> student record
> student record
>
> To rephrase my question, I never want to split up a SCHOOL from its student records. How can I do this?
>
> Thanks,
>
> JIm
>
>
More information about the omnisdev-en
mailing list