Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Scripts: how to put tables in scripts

Former Member
0 Kudos

Hi Gurus,

I'm working on invoice billing . so in the script how to draw the tables.

i have fields like material number, description,quality,unit and amount. and at the bottom of the table i hav sub-total and grand total. so plz help me how to draw tables and put the sub-total and grand total in this table.

Answers will b awarded with good points.

thanks and regards.

sirish.

2 REPLIES 2

Former Member
0 Kudos

Hi,

There is no table concept in scripts.

You can't draw a table in scripts.

u can form table using ULINE and VLINE conmmands.

Otherwise u form a rectangular or square box with box command.

Regards

kishore

Former Member
0 Kudos

Hi Sirish,

to draw tables in script we hav command called Box with tht u can get it ...

this is sample code by which u can try it...

Box Command

/: BOX FRAME 10 TW

Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).

/: BOX INTENSITY 10

Fills the window background with shadowing having a gray scale of 10 %.

/: BOX HEIGHT 0 TW FRAME 10 TW

Draws a horizontal line across the complete top edge of the window.

/: BOX WIDTH 0 TW FRAME 10 TW

Draws a vertical line along the complete height of the left hand edge of the window.

/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15

/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.

hope it might be useful to u.

reward if useful............