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

Report with columns and a header Questions.

edited February 2009 in General
Hello,

I am working on a report where I want to print out a single line header of
text and then print 3 columns afterwards.

I set up my 2 items in the group header and then set up my detail band.

The problem is when I run the report it creates the items in the detail band
right to left just fine but if the first row has 5 items the next group will
start on the 3rd column. So that if the next group has just 2 items the 3rd
group then starts on the 2nd column and over and over.

Is there a setting to make sure the columns always start in the first
position when grouping?

Thanks,
Richard O'Connell

Comments

  • edited February 2009
    Hi Richard,

    The left to right column feature in ReportBuilder is very limited in its
    behavior with groups. If you only need three horizontal columns, you might
    consider creating three separate fixed style subreports, each displaying
    their own column information.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2009
    Hi Richard,

    After playing around with the Engine.CurrentColumn property a bit, I may
    have found a way to accomplish what you need. Try setting the CurrentColumn
    property to -1 in the GroupFooterBand.AfterGenerate event.

    procedure TForm1.ppGroupFooterBand1AfterGenerate(Sender: TObject);
    begin
    ppReport1.Engine.CurrentColumn := -1;
    end;

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.