- Sivaprakash BKR
- PowerBuilder
- Tuesday, 4 June 2019 11:12 AM UTC
Hello,
PB 2017 R3
Need to set Autosize height property for few columns in the header#1 band.
The output is a bill format, with company name and address at top, few columns in both ends [ left & right side] of the paper. eg.
**********************************************************************************************
Company Name
Address-Line 1
Address-Line 2
Address-Line3
City-Pincode
Tel: XXXXXXXXXXXXXXXXXXXXXXXX GST: 33XXXXXXXXXXX
Mob: 9XXXXXXXXXXXXX Counter 3
Bill No. : WB-33 Vou No. : WB-33
Bill Date : 18/02/2019 Type : Cash
Name :
Mobile :
**********************************************************************************************
All the above details appear in header#1 band. Here Address-Line1, Address-Line2, Address-Line3 may or may not contain details. Hence those column heights are made zero, with Autosizeheight property set to true and also the band autosizeeheight property to true.
But I see the results are overlapping. Address-Line 1and Address-Line 2 overlaps.
Similarly in Footer#1 band also, there is one such column to be set with autosize height property [ie it to appear only when there is a non-zero value ].
How to avoid this overlapping ? Don't want to have empty spaces when no values for such columns.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.