O$: report page break
Jim Pistrang
jim at jpcr.com
Wed Jul 10 06:48:16 EDT 2013
Thanks Terry & Dave, this should work.
What is the best way to force a page break once I determine that one is necessary? Can I just say Do $cinst.$endpage() ?
Jim
>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
>>
>>
>
>_____________________________________________________________
>Manage your list subscriptions at http://lists.omnis-dev.com
>
--
Jim Pistrang
JP Computer Resources
413-256-4569
<http://www.jpcr.com>
More information about the omnisdev-en
mailing list