J.M. Why not do two-pass process for each product? You can calculate how much room you need for the product first. If it will fit, do the output, otherwise start new page and do the output.
You should have all the info you need to do this. The only way this would not work is if lines can wrap in pagemode. I seem to remember that pagemode will not wrap lines so this would be a non-issue. I have done similar pagemode stuff in the past. -- Dennis McGrath mailto:[EMAIL PROTECTED] -- Productivity Tools for R:Base Programmers http://www.enteract.com/~mcgrath/dennis -- Full time consultant with: SQL Resources Group Steve Hartmann Oak Park, IL mailto:[EMAIL PROTECTED] ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
