2005 Dec 12 2:10 PM
hello,
I have to created a smartform with 2 pages, the first page contain adress and free text, the second contain list of conditions. The free text and the conditions are definied in the main window but the main window don't have the same size in the both pages. Sometimes, it's necessary to skip the page with free text (in this case the first page), but I don't know how do this.
Can someone tell me how to skip this first page?
thanks you very much.
2005 Dec 12 2:17 PM
Hi MB,
I don't understand, you have two MAIN windows ? one on each page ? how could you do that ?
Did you try to use the condition of the window to display or not the data inside this window ?
Rgd
Frédéric
2005 Dec 12 2:23 PM
Hi Eurosoft,
You can have a variable(or flag) defined in <b>Global Definitions</b> and then check this variable if set or not,
<b>Main window will be same across all windows..move your data into another window.</b>
In this window of first page check this flag under 'Conditions', so that, if flag is set, you can skip.
Hope this is useful.
Regards,
Raj
Message was edited by: Rajasekhar Dinavahi
2005 Dec 12 2:29 PM
Hi,
First of all you can't create 2 main windows in a single form, once you perfoirm the syntactical check you will get an error message "Too main Windows are not allowed".
So, to solve your problem try to create 2 windows, 1 window for free text and main window for list of conditions and accordingly go to "Conditon" tab of corresponding windows and select the required additional events which are placed at bottom.
If it solves your problem try to close the session by assigning app. points.
Regards,
Suman
2005 Dec 12 3:07 PM
Hello Everybody,
I go try to explain again (sorry for my bad english).
I have defined in my Smartform a page named FIRST and an page name NEXT. In the FIRST-page, there is an Adress-Windows, another Windows and the Main-window. In the NEXT-Page, there is only the Main-window defined (the same as in FIRST-page). In this Main-window, there are 2 Text-Node, the first for the free text and the second for the conditions. I have defined the freetext-Node in the Main-window so that if the free text is longer that the defined place in the first page, it's automatically continue to the next page. I think this is only possible with an main Window or is the another solution? It's possible to manage the paging automaticaly in another window than the main?
Thank you for your answer.
Regards, Marc.
2005 Dec 12 4:09 PM
Hi,
You are right, whenever there is dynamic content to be printed that needs to be placed on the main window. Only the main windoe will expand automatically. Other windows are static.
regards,
Ravi
Note : Please reward the posts that help you.
2006 Jan 11 8:55 AM
Finally I have create 2 Smartforms to solve my problem. But I have see that it is also possible by the call of the Smartform to give the name of the Startpage, that also solved my problem.
Thanks to all for your Answer.
Regards.