on 09-29-2009 4:17 PM
Hi All,
I am working on a PDF to be printed via a smartform.
My main issue is that i have some Numeric fields i.e Quantity fields and Currency Fields.
I want them to be shown as right aligned. But as these are CHAR17 and CHAR21 in display length.
I end up getting the pdf like shown below.
ABC Hamburger Strasse 1234 76,2 1346
7.87 3 2,54
Whereas the real values are
ABC Hamburger Strasse 1234,87 76,23 13462,54.
Now one solution to this issue is to have large columns, but i have to show 22 columns and hence that solution is out of question.
Now i want to know, is there any way i can show the values in the correct way as shown in second case.
I tried using Styles but even though the Paragraph is right aligned, the text coes left alined.
Am i missing something??
Thanks and Regards
Gaurav Kumar Raghav
hi
use &EKPO-MENGE& -> 1,234.560
&EKPO-MENGE(T)& -> 1234.560
Which will remove the ',' and u will have sufficient space to fill all values.
and Use &symbol(R)& for right alignment.
surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you fill your fields completely, like in the example (the text field has 17 spaces, the numeric one 21) right and left alignment act the same way, because there's nothing to align, it already is aligned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.