Application Development and Automation 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: 
Read only

smartforms

Former Member
0 Likes
569

Hi Guys,

can anyone describe me the use of final window in smartforms. Please treat this with utmost urgency.

6 REPLIES 6
Read only

Former Member
0 Likes
549

The situation we go for final window is,

You may want to display or query values on the first page that are determined only during processing. For example, you may want to name the grand total in the letter text of an invoice. However, this amount is determined only after listing all individual items. Or you may want to query on the first page within a condition the total number of pages, which the system calculates only after processing all pages.

ex-

you want to use final window to display grand total of pur. order print at the end of main window

do the following

double click the window, and in the condition tab, And Additional event-> check only after end of main window

Read only

Former Member
0 Likes
549

hi,

Final Window

The situation we go for final window is,

You may want to display or query values on the first page that are determined only during processing. For example, you may want to name the grand total in the letter text of an invoice. However, this amount is determined only after listing all individual items. Or you may want to query on the first page within a condition the total number of pages, which the system calculates only after processing all pages.

In such a case, you use the final window: Processing first skips all windows of this type in the tree and works its way to the end of the tree. Only after the actual processing is finished, the final windows are processed in the order in which they appear in the tree (from top to bottom). Now any information is available that is known only at the end of the form processing

~~Guduri

Read only

Former Member
0 Likes
549

Hi,

On a page, there are two different types of output areas for texts and data: the main window and the subwindow. In a main window you display text and data, which can cover several pages (flow text). As soon as a main window is completely filled with text and data, the system continues displaying the text in the main window of the next page. It automatically triggers the page break.

Read only

Former Member
0 Likes
549

Hi ,

See this LINK its very useful...

<a href="/people/vinod.chandran/blog/2005/08/23/using-final-window-in-smartforms:///people/vinod.chandran/blog/2005/08/23/using-final-window-in-smartforms

Regards

Avi...

Read only

former_member671224
Participant
0 Likes
549

If u want something to be displayed in the first page, which you can know only after the execution of certain windows (main window) then you can go for final window.

For ex.

Table of contents to be displayed in first page. But the page no. of the topics will be known only at final stage. In this case u can make the table of content page as Final window.

Read only

Former Member
0 Likes
549

Hi,

Final window in Smartforms..........to explain this lets take an example.

you have certain login in your smartform where you need to print a variable at last after the current page is printed. this can be done if that variable is put inside a window and that window is of type FINAL WINDOW, when this type of window is encountered by the system, this window is printed at last before moving on to the next page. so if you are having some logic to be printed at last then change the type of window from secondary to Final.