Report with header and detail data on differing lines

  • Hi.

    Apologies if this is so basic, but having scoured the net, I've been unable to find out how to do this, possibly because I need a particular search term to find the results.

    For an audit action report I need to put a product header on one line with all the detail occurrences underneath. Drill through will not work, as this needs to be actually printed for someone to action daily.

    What I need to do is in shown below:

    Item 1 Product Hierarchy, Full product description

    variant 1, Description, Old value, New Value, Stock level, action required.

    variant 2, Description, Old value, New Value, Stock level, action required.

    variant 3, Description, Old value, New Value, Stock level, action required.

    variant 4, Description, Old value, New Value, Stock level, action required.

    Item 2 Product Hierarchy, Full product description

    variant 1, Description, Old value, New Value, Stock level, action required.

    variant 2, Description, Old value, New Value, Stock level, action required.

    Item 3 Product Hierarchy, Full product description

    variant 1, Description, Old value, New Value, Stock level, action required.

    variant 2, Description, Old value, New Value, Stock level, action required.

    variant 3, Description, Old value, New Value, Stock level, action required.

    Note that the number of variants can be anything from 1 up.

    Putting all the detail on every line makes it too wide to print as well as making it less readable.

    Once a page is full, ideally I would not want to start a new product listing unless it can all go on the same page.

    All help and advice gratefully received.

    Thanks Robin

  • You need to work with a rows groups, http://msdn.microsoft.com/en-us/library/dd255263(v=sql.110).aspx.

    Your "header" group would group on product (and any other fields you would include on the header) and in the group properties you can check keep together and, if desired, have each group start on a new page.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply