SAP Knowledge Base Article - Preview

1961521 - PowerBuilder places line feeds into unnatural place

Symptom

Sybase PowerBuilder (PowerBuilder) places line feeds into unnatural place in strings in datawindow columns.
The problem takes place when below all conditions are true:

  1. AutoHeight property of the column of the DataWindow is enabled
  2. The string starts with multibyte characters then single byte string follows in the column.
  3. The column width is not enought to place the first multibyte string and following single byte string in one line, but enough for the fisrt multibyte string.

If all above is true, PowerBuilder puts a line feed at just before the last multibyte character of the first multibyte string, instead of after the last multibyte string.
Thus, the next line starts with the last multibyte character of the first multibyte string.


Read more...

Environment

Sybase PowerBuilder 11.5 and higher

Product

SAP PowerBuilder 12.5 ; Sybase PowerBuilder 11.5 ; Sybase PowerBuilder 12.0

Keywords

PB, line feed, linefeed, break, linebreak, datawindow, autoheight, multibyte, multi-byte , KBA , BC-SYB-PB , PowerBuilder , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.