>I am writing a report with VFP report writer where keeping the groups together (no page break) is very important. Th number of records in each group varies from 2 to 20-30 lines. I'd like to determine the size of the next group at the end of the current group, and then force a page break or not.
>
>I think I have it figured out with the exception of forcing the page break.
>Any ideas?
>
>Thanks,
>Larry Morelli
If you can calculate on what page each record is supposed to be, you might have a field where you insert, precisely, this page number. Then, create a group on that field, and make every group start on a new page.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)