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

How to make my columns to have same Height?

edited January 2007 in General
Hello, I have one report, is set to Columns Report. I want, if possible, to
set all Height to the same. Example: I have 10 columns, and one the columns
have 5 records. I get the columns who have the bigest records and set the
height for others columns, to make visible clean.

I hope my friends undestaind my poor english.

Thanks for all.
Fellipe H.

Comments

  • edited January 2007
    Hi Fellipe,

    There is no built-in feature in ReportBuilder to line each column up with
    eachother.

    For the columns with a small number of records, would you like to increase
    the space between each record so they line up with the columns with a large
    number of records?

    To successfully do something like this, you would need to know the number of
    records the largest column contains before the report generates. You would
    also need to know the number of records each column contains before hand so
    you can increase the size of the detail band to line each column with the
    largest one.

    As an alternative, you could possible place the columns inside a fixed style
    subreport and place a box around that subreport giving the effect that
    everything is lined up.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2007
    Hello Nico, but when I have 5 records in one column, when I change the
    height off detail band, I change for all 5 record, correct?

    Other possibilities is to make detail band phStatic, but I have the same
    problem a tell you upper....


    thanks
    Fellipe H.

  • edited January 2007
    Hi Fillipe,

    Yes, the idea would be that you set the detail band to phStatic and alter
    the height on the fly while the report is being generated. For instance, if
    each column is a group, you could use the GroupHeaderBand.BeforePrint to
    change the height of the detail band to line everything up. This however
    will require you to know how many records are in that column and how large
    the column will need to be before the report starts generating.

    --
    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.