List View page break after additional rows [message #2297] |
Mon, 07 September 2009 11:20 |
gpatti
Messages: 283 Registered: August 2008
|
Senior Member |
|
|
Got a tricky problem with forcing a page break at the correct place:
I'm creating a LIST report of people with contact information. I am printing Name and basic information and then want to print the address and other contact info over multiple lines.
I'm using _cm_ListView_pre_print() to construct the additional lines, which are printed after the main line. I'm doing this by taking the data from $prev_row.
The basic report works great. Now, I want to force a page break when the surname initial letter changes alphabetically. The problem is that the page break occurs BEFORE the contact details of the $prev_row are printed.
I need the ability to force the page break after the additional rows are printed, but before $curr_row is printed.
Can you think of a way to solve this?
Thanks,
Graham
|
|
|