Focal Point
[RESOLVED] Carriage retuns causing strange indentation

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

March 01, 2013, 08:01 AM
Ted Michalski
[RESOLVED] Carriage retuns causing strange indentation
I have 'fixed' the problem. I put a 30 character 'buffer' at the end of the text string so WF thinks the last value is large and right justifies properly. It adds a blank line to the end of the reprot, but that is not a problem.


I have a procedure where an application is passing me a text string with a carriage return (^) between the fields like;

A^B^DDD^HHH^RRR^0^0^0

So it prints on the report like:

A
B
DDD
HHH
RRR
0
0
0


If I left justify the field it prints fine, but if I right justify the field and the last 8 to 10 values (separated by the carriage return sign "^") are small values (i.e less than 8 characters), then the report prints the last 4 - 5 values with staggered indentiations like:

A
B
DDD
HHH
RRR
0
0
0

Can anyone explain why?

This message has been edited. Last edited by: Ted Michalski,


7.7.02
Windows
EXCEL, PDF, CSV, TEXT
March 01, 2013, 08:04 AM
Ted Michalski
NOTE: The right justified report looks like (ignore the quote marks):

" A"
" B"
" DDD"
"HHH "
" RRR "
" 0 "
" 0 "
" 0 "


7.7.02
Windows
EXCEL, PDF, CSV, TEXT
March 01, 2013, 08:06 AM
Ted Michalski
Ok, my indentations did not show up. But it indents the last few values like below (Ignore the $'s)

"$$$$$$$A"
"$$$$$$$B"
"$$$$$DDD"
"HHH$$$$$"
"$$RRR$$$"
"$$$$$0$$"
"$$$$$$0$"
"$$$$$$$0"


7.7.02
Windows
EXCEL, PDF, CSV, TEXT