Skip to Content
avatar image
Former Member

Dynamic New-Page Command in Smartform

Dear Experts,

I have a particular requirement of triggering New-Page after the end of Main window for displaying Terms & Conditions on the last page.

For this purpose I have designed 3 pages :

PAGE1 - Contains Main window, few Secondary windows and some Graphic windows.

(In PAGE1 -> General Attributes -> Next Page = PAGE2)

PAGE2 - Is in continuation with PAGE1 except a few changes w.r.t. some Secondary windows.

(In PAGE2 -> General Attributes -> Next Page = PAGE2)

PAGE3 - Contains a new Main window for displaying Terms & Conditions, few Secondary windows and

some Graphic windows.

(In PAGE3 -> General Attributes -> Next Page = PAGE3)

After the end of Main window in PAGE1 or PAGE2 depending on the amount of data, I have used a Command logic for triggering New-Page (PAGE3). But it always triggers PAGE2 as new page and not PAGE3.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    May 19, 2009 at 07:17 AM

    In Page 1 i guess you have given Page2 as next page, so its going to page2.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 19, 2009 at 05:18 AM

    Here, since you have triggered the new page from page 1 or 2, it's triggering the pages 1 or 2 again.

    I guess, since you had declared a seperate page for page 3, no need to trigger a new page. You can set a next page of page 3 to the second page.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Muthukumar.

      But in case if I set a next page of page 3 to the second page, then if my Page2 contains data spreading over more than one pages, it will display Page2 once and immediately display Page3 as next page.

      I will explain my requirement once again:

      1. If my PO details fits on Page1 itself than my next page should be Page3(Terms & Condition page).

      2. If my PO details is of more than one page, for that I have designed Page1 as first page and Page2

      for remaining pages. Once the PO details is over the next page should be Page3.

  • avatar image
    Former Member
    May 19, 2009 at 05:19 AM

    Hi,

    I hope with one page we can slove this, in the Page1 main window create a table then after one more table for Terms & condition, if you use like this are you facing any problem.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 19, 2009 at 05:23 AM

    Hi,

    1. The Main window in these three pages should be the same ..i.e you need to copy the main window and in all the three pages.

    2. At the end of the second page you need to call the third page using the New-page Command.(If you are print in the table then in the footer call the New-page).

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 19, 2009 at 05:25 AM

    Hi,

    Please check it by giving the Next page for Page2 as Page 3. Hope it shud work.

    Tanx,

    Nit.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 12, 2010 at 07:33 AM

    resolved

    Add comment
    10|10000 characters needed characters exceeded