Skip to Content
avatar image
Former Member

FORM-Change value of Secondary Window @ Runtime/values set from Main window

Hi All,

I have to show header data at top of smartform for particular customer and I am getting value of customer loop in main window. Whenever value of customer changes I have to print corresponding details of customer in new page. The problem I am facing is how I can get the value of current customer number which is set during loop defined in main window. I tried using defining final window but itu2019s not working (Setting value of Customer to last value of customer in loop)

Example: Table is having 10 records for 5 customers u2013 2 each.

Output will show at top of page u2013 Customer header Details (Address Info) at top of page and item details in main window (Which can extend to multiple pages).

In output I will be having 5 pages, one page for each customeru2026

I tried to search for exist post for my problem in form but didnu2019t find right link.. Please assist.

Thanks & Regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 07, 2011 at 01:07 PM


    Instead of having the address in the seperate secondary window,

    you can try with the main window itself.

    In the Main window,create a table.

    In the Table Header area create two row types one for the customer address details and another for the customer item details.

    In the Main area display the item details.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Yah i am going through same way and counting the number of records been processed... As on new page its giving me the index of last record processed, So at header level I am using this value by incrementing by 1 and reading the table I am looping thru... & If its first page - thn simply reading the first record and displaying the details...

      I am nto thru with coding part will update the form abt result..