Hi João,
Add a report variable and increment it in each detail line. Use the 'mod()' function to determine when you get to 16, 32, etc. and start a new page.
Another way is to add an extra field to your cursor, and put a '1' in the first 16 records, '2' in the next and so on. Group on that as well as on your other Group fields, and put a pagebreak on the group.
Espero ter ajudado
Barbara
>Hi all,
>
>Is there a way i can control the lines number in detail band.
>
>I only need maximun lines in detail 16 and then create new page for the rest of the detail records.
>
>Thank's in Advance
>
>João Batista