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 query

Shabarish_Nair
Active Contributor
0 Kudos

Hi all,

This is my first time with smartforms.

Suppose i have a page (first page) where i have three windows, say one for address , one for logo and a main window where i display data. my requirement is tht at the end of the last page i need to put a footer (say with regards from XYZ). How do i do so?

I have 2 pages, one is the first page (page1) and the new page (page2) with the next page of page1 set as page2.

i tried to add a third page called lastpage and set the settings accordingly with the footer and it works but if the data to be displayed is less than 3 pages the footer does not get displayed.

Help me in this regard.

Regards,

ShabZ

help me in this regard.

1 ACCEPTED SOLUTION

0 Kudos

Hi Shabarish,

If you want to put a footer after the main window create a window after the main window. In the conditions tab select the checkbox <b>only after the end of main window</b> . Then you create a text element inside your footer window which prints any text like regards...

If you have data after your main window say you have some descriptions ...and you want the footer to be printed only in the last page along with marking Only after end of main window add a condition

SFSY-PAGE = SFSY-jobpages

where SFSY-JOBPAGES = total pages in your output

SFSY-PAGE is your current page. This way your footer will print only when the current page is the last page.

Hope this helps.

Regards,

Vani

1 REPLY 1

0 Kudos

Hi Shabarish,

If you want to put a footer after the main window create a window after the main window. In the conditions tab select the checkbox <b>only after the end of main window</b> . Then you create a text element inside your footer window which prints any text like regards...

If you have data after your main window say you have some descriptions ...and you want the footer to be printed only in the last page along with marking Only after end of main window add a condition

SFSY-PAGE = SFSY-jobpages

where SFSY-JOBPAGES = total pages in your output

SFSY-PAGE is your current page. This way your footer will print only when the current page is the last page.

Hope this helps.

Regards,

Vani