Skip to Content

problem with main window in smartforms?

hi experts,

my requirement is like this in main window if having some line items (say for example 5) more than wat we defined size it should continue with in same page how much the line items require and at the end footer is to display.

if line items may be continue next page also so the footer will display only on end of main window.

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:06 PM

    Whn your last line item is reached in the main window.

    Set a flag to X.

    Check this flag in the conditons for footer window .

    Then footer window will display only in the last page.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member satheesh Bojjaiah

      yes u r right this problem is going to come definitely, so there is a very silly solution that I had implemented.

      Create the footer window and the Main window overlapping each other. Now u have to check how many lines of the MAIN window are coming into the footer window.

      Check the flag and if the lines of the MAIN window are less than or equal to the number of lines that just fits the Main window without overlapping to the footer.

      <i>Happy Debugging to find the number of lines.</i>

      Hope That Helps

      Anirban M.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:09 PM

    Hi,

    While creating the Window for the Footer, we have an option to select it to print after the MAIN window , In the Footer window Click on Condition Tab, there in the below you will find some checkboxes, there select 'Only After End of Main window'

    Regards

    Sudheer

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:10 PM

    As per my understanding, u have to print the footer at the end of main window.

    1) Then do not create a Footer as part of the Main window create a Constant Window at the end of the Main window.

    2) Create a Variable w_fire type C.

    3) Create a Program Line and in that write w_fire = 'X'.

    4) Give Condition in the Program Line as 'ONLY AFTER END OF MAIN WINDOW'.

    5) Write Data in Footer only if w_fire = 'X'.

    Hope That Helps

    Anirban M.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:11 PM

    Hi,

    Check the output property of Footer of the table in main window. Here select the options "AT PAGE BREAK" & "AT End of Table".

    Ashvender

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:15 PM

    Hi,

    If you want to display footer only at the end of main window, then select the condition at end of main window or put one flag in tabkle area of the from and set it

    the problem here is the space for the foorter will unused and will be blank if the line items are more than one page

    Regards

    Shiva

    Add a comment
    10|10000 characters needed characters exceeded

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.