on 07-16-2009 1:14 AM
In my main window I am printing a table of a bunch of currency fields. I have them all right aligned which is step 1. Step 2 is to left align the dollar sign '$'. The text field I am printing in the column currently looks like this: $&WA_LINEITEMS-PRINCIPAL_DUE&. I took all the tabs out since it wasn't working right anyway. I know it can be done using tabs but I am just not having any luck. Either I end up with the dollar sign lined up correctly and the amount wrong, or vice versa. Thanks guys.
To try and make clear: I want to left align the '$' and right align the amount value inside the same text field.
For Example: $ 555,555.00
$ 444.00
ok do the following:
make yourself a paragraph format in your smartstyle. i call it XX, but this is just an example.
now in your paragraph format XX you need to create two tabs.
first one should have a left alignment and second a right alingment.
Now its getting a lil tricky.
Make sure the value of you first tab is big enough.
Example: you have 20 characters of text written already in the actual line, so you first tab should have at least a position of 21 characters left.
the Difference between tab position 1 and 2 has to be big enough to fit in the desired variable holding you amount.
ERxample: lets assume your tab 1 has a position of 25 chars left. you amount has amaximum value of 10 chars. so your tab 2 has to be at least 35 chars right.
i hope this gives you enough input to have an idea how things are working.
if not try to ask more specified
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I see the answer of Florian is very complete and correct.
So i do not have to explain that myself.
I can only add 1 small comment.
your text element will have the following content: ,,$,,&WA_LINEITEMS-PRINCIPAL_DUE(C)&
Gr., Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brett,
with the same text field you won't be able to get the desired output. Use 2 textfields,
and use left aligned paragraph format for $ and right aligned paragraph format for amount.
That should do the trick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.