Skip to Content
avatar image
Former Member

SCRIPTS

I created two pages PAGE1 ,PAGE2. In PAGE1 created variable windows only.

In PAGE2 created MAIN WINDOW. How to write driver program to thisw layout.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 03, 2006 at 05:34 AM

    Hi

    In the PAGE1 is your first, you should insert the main window, if you need the next page (PAGE2) will be triggered automatically.

    In your program you have to use the following function modules:

    OPEN_FROM, WRITE_FORM, CLOSE_FORM.

    The fm OPEN_FORM and CLOSE_FORM has to be called once.

    WRITE_FORM has to be called when you need to print a new text element.

    SO the structure of your program should be:

    OPEN_FROM

    WRITE_FORM

    WRITE_FORM

    WRITE_FORM

    ......................

    CLOSE_FORM

    Max

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 03, 2006 at 06:04 AM

    hi,

    there cannot be any form without a main window in a page.so, ur first page shouild have a main window.

    actually, driver programs for standard formks will be in TNAPR table since u r customizing a new form u should create it.

    the program should have all the includes like top include where u will initialize the tables and structures and includes to handle NAST structures which will be helpful in printing .

    mainly you should follow the following :

    START-FORM.

    OPEN-FORM

    WRITE-FORM

    CLOSE-FORM

    END-FORM

    Add comment
    10|10000 characters needed characters exceeded