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 footer

Former Member
0 Kudos

Hi,

Iam new to smartforms.

In Smartforms i have a footer part which is bigger in height which contains the total,excise duty, educational cess, secondary higher educational cess cst, vat, freight, insurance, grand total and total in words and also mode of transport, vehicle no. and authorised signatory.

here my requirement is i need to display it in the last page depending upon the items in the main window.

So where should i declare all these should i declare it in the main window footer part or i need to define another window of type secondary or main window and also any conditions do i need to declare .

Regards,

Mahesh.

9 REPLIES 9

Former Member
0 Kudos

HI,

It is always suggestible to use this footer in the main window only

as it always follows the main window, once the main window loop completes, this footer will be triggered.

Or you can declare a secondary window which is placed under the Main window. Once main window completes, you can print the secondary. This is static place and the above one dynamic like where ever the main stops, footer will follow.

Regards,

Venkatesh

0 Kudos

Hi,

As per ur answer if i declare everything in the main window itself then i have a one problem.

if the items in the main window completes in the first page then my footer starts from second page from top of the main window just like in scripts but my footer should display at the buttom even though main area data is completed at the middle means the footer is continued with the main area data. So here can i provide any condition such that i can delcare the footer at the buttom.

now another case if i create another window then i have one more problem that is.

iam able to display the footer part at the buttom but unable to link with the main window means depending upon items in the main window frame is displayed like if the items ends in the middle then the frame is limited upto that so a gap is maintained between the main window and footer window.

So how can i link the frame with the footer window.

Please help me and iam unable to find the solution.

0 Kudos

HI,

if you use the footer in main, this will be triggered from the place where it is ended. You cannot manipulate it to print at the bottom.

If you use a separate window, use the option in the window, only before end of main window. this will happen

only when the data in the main window completes, your window ( footer ) will be triggered.

If you have only page, the footer space will be continued for all the pages till the main window occurs.

at this point the footer will be printed.

if you have two pages, then first page will be triggered and initially the second page will repeat for the main window and then the footer will be triggered at the end of main.

For eg: if the data in the main window completes with in the first page, you need to print the footer window. This will be taken care by the setting called only before end of main window.

Regards,

Venkatesh

0 Kudos

Hi,

Thanks for ur reply.

here i declared footer seperately and its working fine but their is a problem. In scripts we use box command to draw lines constantly from main window to footer window even though their is no items in the main window the lines will be constantly shown but here iam using table line in the main window iam not able to complete the lines upto footer window when there are few items in the main window. I think table line changes according to the items in the main window. So upto the items only iam able to see the lines but it looks odd when there are few items.

So what i do such that the main window frame should be complete even though there are few items and it should not be restricted based upon items and it should cover the complete main window.

Any queries please let me know.

0 Kudos

Hi Venkatesh,

iam unable to solve this problem. I'll explain u in detail.

Actually i have ovelapped main window with the footer-1 window as i have two footers, 1 which is used to display the calculation part and another is a constant window which i need to display it in every window( with this window i donot have any problem). Now after overlapping these 2 windows with a condition that if my main window items exceeds the footer-1 window part then the footer-1 data should be displayed in the last page and if not then display it in the first page itself. Here iam able to do this but my problem is as i have taken the footer-1 window seperately from the main window, iam not able to complete the frame of main window upto footer-1 window and my main window frame is ending based upon the items in it. But here my requirement is even though the items ends at the middle, the frame should be upto the footer-1 window.

In scripts we basically use box command which draws a constant vertical lines regardless of items but here iam not able to draw the vlines.

Please let me know if their is any possibility for this.

Regards,

Mahesh.

peter_ruiz2
Active Contributor
0 Kudos

Hi Mahesh,

Create a new window as secondary window. on the Conditions Tab of the newly created window, check the Only after End of Main Window checkbox.

Regards,

Peter

Former Member
0 Kudos

Hello Mahesh,

You have to create a secondary window for displaying the footer part. In conditions tab for that window, select ONLY AFTER END OF MAIN WINDOW. In this window you can write the logic to display the footer part.

Hope this answers your query.

Regards,

Brajvir

Former Member
0 Kudos

hi,

u can do both the ways.

Former Member
0 Kudos

i have taken the footer seperately and taken another dummy window with template width same as main window and overlapped completly with the main window and checked the event as only after the main window. Now its working