Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Grouped report with ColumnTraversal set ctLeftToRight

edited May 2013 in General
Hi,

A customer would like to start the printing of stickers on the first
column when a group starts. With left to right this doesn't seem possible.
Is it in another way possible to add an empty sticker between groups?
They have a hard time to distinguish between the stickers and need some
way to see where a new group starts.


--
Kind regards,

Jeroen Röttink
JR-soft software solutions

Comments

  • edited May 2013
    Try implementing the Group.AfterBreak like this

    procedure TForm1.ppGroup1AfterGroupBreak(Sender: TObject);
    begin
    ppReport1.Engine.CurrentColumn := ppReport1.Columns;
    end;

    In a simple test using RB 14.08 that caused the report engine to start each
    group in column 1. (In a future version perhaps we can enhance the report
    engine to do this automatically when Group StartColumn is set to True. I'll
    add this to the ToDo list)


    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2013
    Hi Nard,

    Thanks for the solution. Works nice even from RAP via passthru.

    When you change it can you also make sure when groups are used with
    'start new column' set to false, the detail band will print without
    empty gaps like it is at the moment.

    --
    Kind regards,

    Jeroen Röttink
    JR-soft software solutions
This discussion has been closed.