on 10-05-2010 8:19 PM
Hi Experts,
I have a requirement where in I need to trigger a new page for each entry inside a LOOP Command of Smartform.
I have included a LOOP and New page Command inside the Main Window and I have checked the box 'Not on First Page check Box' under conditions tab.
Now I was expecting for each entry in the LOOP a New page should be triggered but if the second entry came and page is not yet over then it is started printing in the same page.
I have checked with other options under Conditions tab but not able to achieve this. Ultimately my requirement is to trigger a new for each entry in the LOOP.
For Example If I have 3 entries inside the Loop then I should get 3 pages.
Please share your thoughts on this ot let me know if you need any further information on this.
Thanks in advace.
Regards,
Srinivas
Hi Srinivas,
Check whether u have set any other conditions apart from Not on First Page check Box.
Also check whether New page Command is placed inside the Loop in Main window.
Also check below order in Smartforms,
Main window -> Loop -> New page Command -> Print record -> Endloop
Thanks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Resolved the issue using a flag...
Regards,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Resolved the issue using a Flag...
Thanks for all your suggestions...
Regards,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you may follow these steps
1.Put the table in main window (don,t give any conditiopns in conditions tab)
2..Goto table node- data tab.
3. Provide the name of the unique key field of ur internal table in the Sort Criteria box(ascending or decending)
4. Select the check box "Event on sort begin", an additional Event will be inserted under the Table node
5.Now right click on the additional event created and choose Create->Flow Logic ->Command(a Command node will be created under the Event node)
6.In the Command node check the "Go to new page" and select a page u want
even u may copy first page as next and give goto page as next.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
The easiest option is to modify the main window siz to have only 1 line item per page. Let us know if this solves ur case ...Else you can try to Command node to try to serve your purpose.
Let us know in case the baove doesnt work..We wud find you more solutions...
Cheers!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.