Bill,
You're absolutely right. However, my impression was this was an invoice with a single line per record. But I SHOULD have said so.
BarbARA
>Barb,
>
>Your solution counts RECORDS, not PRINT LINES. The solution you suggest will work only if a detail line only takes up one print line. If you have a memo field in your detail that expands to more than one detail line, your count will be off, and it may overflow the page.
>
>Bill