A little background.....
I have an old PB application (created in 6.5) that prints custom reports (orders, invoices, etc) and resides on a Windows box. It is triggered and has parameters passed to it from a KSH script running on an UNIX box. With me?
When the PB app is triggered it retrieves its data by running PL/SQL stored procedures against an Oracle 9i database which is running on the UNIX box also.
Here is my problem.....
I have a query that retrieves into a nested datawindow for user entered comments. The users enter the data into a Multi-Line Edit, but it is then stored as a single VARCHAR field in Oracle (with <LF>'s delimiting the entered lines). When my PB app retrieves the data from Oracle - it is actually printing the ASCII instead of actually inplementing a line feed.
i.e. instead of:
"My name
is JitWad"
I get:
"My name<LF>is JitWad" (except I get the little ASCII 'square' which I couldn't paste in here)
I realize that Windows requires either a <CR> or a <CR><LF> combination to delimit text lines - so I have tried using a REPLACE command in my PL/SQL to return these. All that happens is PB prints 2 of the little ASCII squares(for a <CR><LF>).
Anyone know how to stop PB from interpreting the embedded <CR><LF> as printable characters?
I have an old PB application (created in 6.5) that prints custom reports (orders, invoices, etc) and resides on a Windows box. It is triggered and has parameters passed to it from a KSH script running on an UNIX box. With me?
When the PB app is triggered it retrieves its data by running PL/SQL stored procedures against an Oracle 9i database which is running on the UNIX box also.
Here is my problem.....
I have a query that retrieves into a nested datawindow for user entered comments. The users enter the data into a Multi-Line Edit, but it is then stored as a single VARCHAR field in Oracle (with <LF>'s delimiting the entered lines). When my PB app retrieves the data from Oracle - it is actually printing the ASCII instead of actually inplementing a line feed.
i.e. instead of:
"My name
is JitWad"
I get:
"My name<LF>is JitWad" (except I get the little ASCII 'square' which I couldn't paste in here)
I realize that Windows requires either a <CR> or a <CR><LF> combination to delimit text lines - so I have tried using a REPLACE command in my PL/SQL to return these. All that happens is PB prints 2 of the little ASCII squares(for a <CR><LF>).
Anyone know how to stop PB from interpreting the embedded <CR><LF> as printable characters?