Skip to Content
author's profile photo Former Member
Former Member

Printing total at the end of main window in Smartform

Hi Guys,

I have a requirement to print Total at the end of the main window in smartform.

I am printing it in the footer of a table.

But when few lines output, the Total is displayed immediately after the items not at the very end of the main window.

Main window height is 13 CM, I tried output conditions for the footer row, like at the end of the main window, before end of the window, page break but nothing bring the output I wanted.

Thanks

Sam

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 06, 2012 at 04:33 AM

    Hi Sam,

    Better to take one secondary window for footer information.

    please see the below screen.

    here check the ONLY AFTER END OF MAIN WINDOW.

    Regards,

    Venkat.


    conditoinwindow.jpg (117.0 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 06, 2012 at 06:00 AM

    Hello,

    If you want to display total at the end of main window but with some distance then create a template for Total and put your logic there. You can choose option in Condition tab to call only at the end of Main window.

    Regards,

    Deepti

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      This won't work because in the code the counters both move up at run time so page is always equal to formpages, check it in debug.

      I have just had the same issue where I had to print a text in a box outside of Main only on the last page, before terms and conditions and there were several pages of T&Cs.

      I was able to use the footer of the table in main which was called at End of table, it is important to check you dont have at Page Break checked. Here I created some program lines to set a flag I could then check with my own condition against the text. Not that elegant but it is working...

      I could not use only after end of main check box (which does work) because the multi page terms and conditions had to be printed after and the only way I could get the large standard text to flow over the pages was by extending main over the last page. That means of course Main does not end when I need it to...

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.