Page 1 of 1
Line breaks in text areas
Posted: Wed Oct 30, 2019 2:43 pm
by aferrante
Is there a hex value I should be looking for when taking in data from a text area to RPG for a line break? I'm trying to export contents from a text area to another file while keeping the same formatting.
Re: Line breaks in text areas
Posted: Fri Nov 01, 2019 6:02 pm
by Scott Klement
There should be newline characters sent where the linebreaks occur.
In most flavors of EBCDIC this would be x'25'
in ASCII it'd be x'0A'
Re: Line breaks in text areas
Posted: Mon Nov 04, 2019 9:41 am
by as400man
Scott;
We will make these changes but I did want to point out that this was something that stopped working after we installed the latest release of ProfoundUI. This was with no changes to any code or recompiles.
Our old code was checking for x'0D'. I just thought you would like to be aware in case anyone else runs into the same issue.
Anthony is trying the changes you suggested today.
Thanks for all of your help.
Mike Shumaker
IBM i Application Development Manager
Summit Consulting