Skip to Content

Want to stop second page in Smartform

Hi Friend

I designed a smartform with two pages, I used header window and main window in both the pages.Additionally I used some other window in first page.If I print multiple records not a problem.But in case, if records come within one page, it should not trigger the second page.But In my case its printing header text in second page.I used loop statement inside the main window.Please let me know how can I stop to triggering the next page, if record reached maximum level.

I tried with command statement but its not working.

Thanks

Gowrishankar

Edited by: gowrishankar p on Jan 11, 2011 2:24 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 12, 2011 at 07:56 AM

    Hi,

    Do one thing, Delete the currently printing record from the internal table you are using in the loop( E.g. DELETE IT WHERE cust = wa-cust. ). And then in the condition tab of command node check IT[] NE INITIAL. Doing this will make sure if there is no record left to be printed then it won't call the next page.

    Regards,

    Antim

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2011 at 08:24 AM

    Issue resolve.Because of space after footer its showing the new page.

    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.