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

Problem in Folder in smartforms

Former Member
0 Likes
820

Hi,

I have create smartform for invoice,

my problem is i have to display footer at the bottom of the page after main window , i have created another window for bottom only problem is if main window have more records then it will display on second page and footer window is call at then end of main window but in first page footer display bank space for that i have used folder option it will work fine but when i have enter multiple invoice no in selection screen at that time folder option not work.

I have to display footer for example:

for multiple input in selection screen.

in 1st  invoice have 2 page then footer is display on bottom of the second page.

if 2nd invoice have 1 page then footer display on same page but bottom of the same page like wise.

Thanks,

Avani

3 REPLIES 3
Read only

Former Member
0 Likes
597

In table event on sort begin & event on sort end are there for a field.You can use them for resolving you Issue.

Read only

0 Likes
597

it will display at the end for table. not bottom of the page.

Read only

Former Member
0 Likes
597

Hi Avani ,

You might want to try this out. This will allow you to set your Main Window in both the FIRST and NEXT Page to overlap all your Footer Windows (such as Amount Totals / Delivery Address / Inco Terms / Payment Terms / Signatories). The Footer Windows will only print on the last page but in exactly the position you require them. If there are 2 pages to the form, the Main Window will be populated all the way to the foot of the first page before going on to the second page.

If that is the functionality this is how to do it.

Within the Main Window create a folder called 'Footer_Data'. Make the following settings - In the Events Tab - Select the 'Footer with Height' and Print Time 'End of Table'. Then set a Minimum Height, this I calculated as follows. I added the height of all the Footer Windows I had created (Amount Totals / Delivery Address / Inco Terms / Payment Terms / Signatories). They took up 6cm in total, this is the figure I entered into the 'Minimum Height'.

In the 'Conditions' Tab select the option 'Only before End of Main Window'. What this does is check that enough space is available to print your footer data. If there is not 6cm spare within the Main Window then it will Page Break. You only use this option to check that enough space is available NOT to print data.

The next step involves the Footer Windows you have created, these require to be printed after the Main Window but always in the same place on the page. Change  them so that the 'Only After End of Main Window' is selected. This will allow you to set the Main Window in both FISRT and NEXT page to overlap all your Footer Windows and the Footer Windows will always print in the same place on the last page irrespective of the number of pages you have.