on 02-02-2012 8:09 AM
I have a variable v_date containing value 01.02.2012
I would like to print value 0 1 0 2 2 0 1 2 on a preprinted form. The gap between each digit should be 4 MM. Therefore, on paragraph format, I declared tab no 1 with 4 MM alignment LEFT.
On the form, I wrote the following:
* &v_date+0(1)&,,&v_date+1(1)&,,&v_date+3(1)&,,
= &v_date+4(1)&,,&v_date+6(1)&,,&v_date+7(1)&,,
= &v_date+8(1)&,,&v_date+9(1)&
But when tested, the 1st gap is at 2mm, 2nd gap at 4mm and the rest of the gaps are at 8mm. How can I make sure that all the gaps are fixed to 4mm?
Hi,
The tab positions defined in the paragraph format are absolute positions. So if the characters have width 2mm, you should define TAB1 = 6mm, TAB2 = 12mm, TAB3 = 18mm etc..
Regards,
Aidan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friend,
Its simple.
Just give the variables one below the other its working fine. Ie after pressing the insert field button you will be getting a small window where you will be entering the fields. So enter the each variable ie &v_date0(1)& &v_date1(1)& ......... in each row of the window.
I did so and got the output correctly. Also change the v_date variable into CHAR10. If its datum it causes some problem.
I think this will solve your issue if you face any issues please revert back to me i will help you.
Thanks,
Sri Hari
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 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.