Focal Point
[SOLVED] TX Field with Line Breaks

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5197010426

September 11, 2012, 04:54 PM
cdeal
[SOLVED] TX Field with Line Breaks
I have a field that is the LONG datatype in the database (Oracle) and I am trying to pull into a report with keeping the Line Breaks. However, when it is pulled in, none of the breaks are kept and it becomes all one paragraph. Below is the field in the master file (TX):

FIELD=AMRPUSR_VALUE, AMRPUSR_VALUE, TX50 ,TX

When I view the field in the actual database using PL/SQL, and I can view it in Text, RTF, HTML, Hex, etc., the breaks are maintained in the Text and the RTF view but not in the HTML view.

Does anyone know of a way to carry those line breaks over into WebFOCUS and be able to incorporate them in a report with a PDF output?
Thank you!

This message has been edited. Last edited by: cdeal,


WebFocus 7703
September 11, 2012, 05:44 PM
Waz
Not sure what is supported with TX fields, but have you tried the LINEBREAK setting in the stylesheet.


You should check to see if it is CRLF or something else.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

September 12, 2012, 04:17 PM
cdeal
That worked!! Thank you!

for anyone else having the same problem, I included the following in my stylesheet and the linebreaks came through:

TYPE=REPORT,
LINEBREAK='LF',
$


WebFocus 7703