on 10-02-2007 10:44 AM
Hi All,
This is for an invoice. I display line items and then the totals. I want to draw lines above and below the total values. i am able to underline the total values using the paragraph formats but that will give only lines below the values. how can I get the lines above and below the values in correct proportions? Please give me some ideas on how to do this.
Thank you,
Prathima.
If you know the position where you are plannig to print the total then use box statement.
Ex: BOX XPOS '11.2' CM WIDTH 0 TW HEIGHT '1' CM FRAME 10 TW
If total position varies in your main window, use ULINE with offset
Ex: ULINE(20). " define tab space accordingly.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
let us know whether its script or smartform
with the above discussions i think its script
i think problem is you are using uline don't use uline
change it with box commands which gives the horizontal line with height 0
it works go through with box commands
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pratima,
Create a paragraph format(PT) and create tabs to position the total value displayed.
Use ULINE to have underline.
Use this tab as below in script editor.
PT ,,,,,,,,&ULINE(10)&
PT ,,,,,,,,&V_TOTAL&
PT ,,,,,,,,&ULINE(10)&
Thanks,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prathima,
You should not be using ULINE and VLINE commands here. Instead you have to declare boxes.
/: BOX FRAME 10 TW
/: BOX XPOS '3.0' CM WIDTH 0 TW FRAME 10 TW
/: BOX XPOS '6.0' CM WIDTH 0 TW FRAME 10 TW
/: BOX XPOS '9.0' CM WIDTH 0 TW FRAME 10 TW
/: BOX XPOS '12.0' CM WIDTH 0 TW FRAME 10 TW
Using boxes is advantageous in a lot of ways as you can specify the x and y positions exactly.
Thanks
Aneesh.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.