cancel
Showing results for 
Search instead for 
Did you mean: 

print main windows more time in smartform

Former Member
0 Kudos

Hi all

I have a simple Smartform with simple requirements.

The smartform receive two tables one with headers data and one with positions (all together in same table)

When starting printing page

1) I read first header in table header and print some header data in secondary window on main page

2) copy the position belonging to that order into an internal table

3) make a loop on that table (in a main window) printing position

4) after the loop I put a command to go main page again start printing new order

Index of header table is incremented till reach end of header table and each time order change, I read corresponding position into internal table (refreshing old values).

What I am achieving (for example giving two orders):

first order is printed correctly

for second order, only header data are printed (in secondary window )

Making test and putting some break point, it seems that MAIN window is not called again (tryin to put a simple text BEFORE table I cannot see it).

What am I missing ?

Any hints is welcome.

Regards

Gabriele

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The error was the way I was projecting.

Works using a loop on header and a table on position in main window.

sorry