Page 1 of 1

Auto-adjust Header text width within a Cross-Data band

Posted: Tue Apr 14, 2020 6:56 am
by Ozma
I have a Cross-Data band which contains column headers for the report that I am currently working on. These column headers needs to have a general header above them. How do I adjust the width of this header depending on the number of columns the cross-data band will produce? A rough example of this would be:

Example 1:

Code: Select all

              Header
----------------------------------
Column1  Column2  Column3  Column4
-------  -------  -------  -------
Example 2:

Code: Select all

                           Header
-------------------------------------------------------------
Column1  Column2  Column3  Column4  Column5  Column6  Column7
-------  -------  -------  -------  -------  -------  -------
Can this be possible to achieve? Thank you.

Re: Auto-adjust Header text width within a Cross-Data band

Posted: Fri Apr 17, 2020 9:06 pm
by Lech Kulikowski
Hello,

You can use DoublePass. In the first pass check count of all columns and in the second set the width of the Header.

Thank you.