Skip to Content
0
Dec 15, 2010 at 11:20 AM

smartform not hitting main window on page 2

191 Views

I have a PO smartform in which the items are displayed on page 1. I have set up another 4 pages of information which should or should not appear, depending on the type of items on the PO. I'm having problems getting this to work in all circumstances though.

This is the way I have it set up currently:

As I don't know which page is to appear after page 1 (as that will depend on which items are on the PO), at the end of the main window in page 1 I have a condition telling it which page to go to next. This works ok and it does go to the correct next page. However, my problem is that in the next page it prints out the information correctly (from my secondary window) but then ignores the main window, where I have the conditions to tell it which page to go to next. I've added a bit of code into the main window and a breakpoint against it and I can see that the breakpoint is never reached.

Can anyone tell me where I'm going wrong please ?

thanks,

Malcolm.