Skip to Content
author's profile photo Former Member
Former Member

Scripts: how to put tables in scripts

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 03:42 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 03:43 AM

    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............

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.