Page 1 of 1

Reduce space between Panels with Data Bands

Posted: Tue Aug 18, 2020 6:45 am
by mksch
Hello,
I am building an invoice template which should print a set of numbers in the header.
The numbers are all stored in the same data source but are different types as in the below example:
type number
Voucher 123456
BookingNR 654887
CRS C789654

I am using 3 panels with one databand in each to loop through the data source to check which type of number is there and print the number in the right place as in the below screenshot:
panels.JPG
panels.JPG (27.33 KiB) Viewed 2622 times
IF.JPG
IF.JPG (17.23 KiB) Viewed 2622 times
On the printed invoice, the information displays correctly, howver the space between each line is quite big and I am trying to find a way to reduce the space to the same amount as in the lines above, or even get rid of the 3 panels with the data bands. Is there any way this can be accomplished? I tried doing it in one data band, but then it keeps repeating all the lines multiple times.
report.JPG
report.JPG (13.56 KiB) Viewed 2622 times
Thank you very much for your help.

Best regards,
Markus

Re: Reduce space between Panels with Data Bands

Posted: Tue Aug 18, 2020 7:47 am
by Lech Kulikowski
Hello,

Please send us your report for analysis.

Thank you.

Re: Reduce space between Panels with Data Bands

Posted: Tue Aug 18, 2020 9:35 am
by mksch
Thank you for your quick reply.
Enclosed please find the report file.

Re: Reduce space between Panels with Data Bands

Posted: Tue Aug 18, 2020 10:15 am
by Lech Kulikowski
Hello,

You can set the ShowHeaders=false option.
Or add an additional Panel on which place all components and use DockStyle=Top option.

Thank you.

Re: Reduce space between Panels with Data Bands

Posted: Fri Aug 21, 2020 4:02 pm
by mksch
Thank you very much Lech,
the above solution worked.

Best regards,
Markus

Re: Reduce space between Panels with Data Bands

Posted: Fri Aug 21, 2020 9:41 pm
by Lech Kulikowski
Hello

We are always glad to help you!

Thank you.