1. Wallye Jones
  2. PowerBuilder
  3. Wednesday, 7 March 2018 21:20 PM UTC

I have a datawindow that has auto-size set on the band. When this datawindow spans more than 1 page it will sometimes cut the text in half where the top portion is on the bottom of page 1 and the bottom portion is at the top of page 2. 

We currently utilize the wordwrap.dll which corrects the problem but this slows the report creation drastically, sometimes 40-50 seconds. Is there another solution that I can implement or could we have this corrected by Appeon?

Let me know if you would like an example of the issue. 

Thanks in advance. 

 

Tobias Roth Accepted Answer Pending Moderation
  1. Thursday, 8 March 2018 05:52 AM UTC
  2. PowerBuilder
  3. # 1

We had the same issue, 

first we tried to set the printable area at exactly the linebreak position,
but depending on the scale factor of the datawindow text resizes differently.

Our solution was to cut the text at each paragraph (within a stored procedure).
After processing each paragraph was a datawindow row with autosize height enabled. 

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Thursday, 8 March 2018 00:55 AM UTC
  2. PowerBuilder
  3. # 2

Try adjusting the size of the print area UP slightly from the bottom of the DW.

Example: If the current Y location of the text area is 7500, try setting it to 7300 and trying it again.

 

Olan

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.