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

CrossTab

edited August 2009 in General
Hi,

I have a crosstab report where i have one column, a integer field. In this
field i indicated Months (1 = January, 2 = February, 3 = March...). My
crosstab is on a group.

In the groupfooter band, i want to print a region on the same left that the
column is printing. How can i do that?

Thanks

Comments

  • edited August 2009
    Hi Veridiana,

    If you would like to control the width of the crosstab component, you can
    simply set its ParentWidth property to False and resize the control so that
    a region will fit to the left. If you would like to keep things even
    neater, you can place the crosstab component into its own region to the
    right of the other region.

    --
    Regards,

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

    Best Regards,

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

    Thanks for you aswer but i think that you didn?t understand my problem. I
    was send a PDF document (Croostab.pdf) with an example of what i want to do!

    There are any way to do that?

    Thanks!
  • edited August 2009
    Hi Veridiana,

    For future reference, please send all attachments to
    support@digital-metaphors.com.

    The crosstab component measures its column widths based on the largest text
    object placed inside. If there is some way for you to determine which one
    is the longest and measure it (using TCanvas.TextWidth) this would give you
    an approximate location for the next column.

    The easiest way would be to ensure the left-most column of the crosstab is
    always the same width by limiting the text values inside.

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