Skip to Content
author's profile photo
Former Member

Main window not getting printed in next page

Hi Friends,

I have passed the select-options to the form, where i wnt to display info for every input value in a new page.

I ve recursively called same page using command type. For first value all window gets printed. For second value except main window, all other windows gets printed and am not gettting preceding pages. What should i do to print the main window in second and preceding pages.

Thanks in advance.

Regards

Prabhu

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • author's profile photo
    Former Member
    Posted on Sep 12, 2007 at 12:18 PM

    Hi,

    For the Seocond page you need to call the WRITE_FROM function module in the Driver rpgoram to print the values

    Regards

    Sudheer

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 12, 2007 at 12:20 PM

    Main window will print only once.

    Only if it could not print on the first page it will spill over to the next page.

    Even if it is defined in the next page. It is the same Main Window

    Try putting the Main Logic in a loop. and then call the command node

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      There is no need to actually pass it.

      A global variable has its value visible for the whole form

      What r u excactly trying to do?.

      If youre trying to pass a variable from a local code snippet it wont work

      If it is global then u still have to declare it in the local code snippet interface params

  • author's profile photo
    Former Member
    Posted on Sep 12, 2007 at 12:23 PM

    for every new value u need call start_form..........

    write at new 'value' [field]

    call function start form.

    populate u r window name and page.....

    it will work.

    reward points if helpful

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 10:20 AM

    Thank u friends

    Add comment
    10|10000 characters needed characters exceeded