on 04-19-2012 11:28 AM
as per my requirement i want smart form with 2 pages.
first page is working fine alone, i want page2 for every records on page 1.
i have write COMMAND inside loop in main window for calling page 2.
and write page 1 as next page for page2.
then for 4 records it prints 9 pages, it redirects last page 2 to page 1 again.
How to stop it on second page.
How to use condition for calling page1 from page 2.
is thr any other way?
Thanks
Hi,
I'm not sure if i understood your problem correctly but try this :
Currently, Page2 has Page1 as Next Page.
Instead try using a COMMAND in Page2 that redirects to Page1. Create a variable that keeps track when you reach End of Loop and use that variable as a condition for the Command in Page2.
Let me know what happens.
Regards,
Andrei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So,
Use this workaround (not probably the best solution but it should work ).
Using this condition will not print LAST PAGE
count = lines . This will only print the last page
or look into SSFCOMP_CLOSE and SSFCOMP_OPEN FM's ...
regards,
Andrei
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.