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

CurrentColumn

edited June 2015 in General
I have a multigroup column report. In an older post you said that
setting this after the group break could force the columns to start
over again. Now it appears that currentcolumn is read only? Setting
it seems to have no effect. I'm having a problem starting at the first
column after a group break.


Comments

  • edited June 2015
    Hi George,

    If you would like a new column started after a group break, you can
    check the "Start New Column" option in the groups dialog or set the
    Group.NewColumn property to True.

    If you would like a new page started after each group break, you can
    check the "Start New Page" option (uncheck the "Start New Column"
    option) in the groups dialog or set the Group.NewPage property to True
    and the next group will start in the first column of the next page.

    I checked our source as far back as we keep records and the
    Report.CurrentColumn property has always been read only.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2015
    The reason I thought that was this reply in the news group in 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
This discussion has been closed.