One record per page on output

(2 posts) (2 voices)

Tags:

No tags yet.

  1. cookeg, Member

    Hi, Is there any way to print a report with a a group per page. As ir an order with 'detail lines' under 'customer'

    Garry

  2. myDBR Team, Key Master

    Hi,
    you have two options for that depending on how you like the report to be formatted.

    In first option you can utilize the 'dbr.hdr'-command where you can set a header level for a single query. In this option the "customer" information would be printed only once. This is an option where you fetch the data with single query.

    The second option would be to use a database cursor to go through the customers and then do a separate query for each customer's order lines. This option gives you more flexibility on the report formatting.

    --
    myDBR Team


Reply

You must log in to post.