Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform - Skip first page

0 Kudos
243

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.

6 REPLIES 6

FredericGirod
Active Contributor
0 Kudos
143

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

Former Member
0 Kudos
143

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

Former Member
0 Kudos
143

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

0 Kudos
143

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.

0 Kudos
143

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.

0 Kudos
143

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.