Skip to Content
avatar image
Former Member

Restrict printing of a page in Smartform based on a condition.

Hi all,

I have a requirement where in I need to Print a page in Smartform only when one condition is true. Could anybody suggest me how to do this?

Thanks in advance.

Regards,

Adapala M.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 07, 2009 at 07:56 AM

    Hi,

    If u r using multiple pages then..

    suppose u have 3 pages and u want to print 2nd pages according to ur conditions.

    then u can use command in last of 1st page.

    In General Attributes tab specify 2nd page

    In Conditions tab give ur condition to go to 2nd page.

    reply back if u not get.

    Regards,

    Ankur

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI ANKUR,

            

      I HAVE FOLLOWED YOUR ADVICE ,BUT UNABLE TO FIND THE CORRECT WAY HOW TO WRITE THE CONDITION .

      PLZ  GIVE THE EXAMPLE .

      I HAVE REQUIREMENT LIKE HAVING THREE PAGES , I ST PAGE  SHOULD PRINT EVERY TIME AND SECOND AND THIRD PAGES SHOULD PRINT BASED ON CONDITION

      LIKE    IF CONDITION 1

                   PAGE 2.

                ELSE

                 PAGE 3.

      PLZ  HELP.

  • avatar image
    Former Member
    Jan 07, 2009 at 06:31 AM

    create a command node as the last element of the page which will come prevous to ur page for which u want condition then specify ur codition on command node and then call ur page thru that command node

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 07, 2009 at 07:35 AM

    u cant put a condition on page directly so create a command node with condition and then call ur page.

    кu03B1ятu03B9к

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 16, 2009 at 07:54 AM

    Hi,

    Say if you have three pages,

    You want to print page 1 and page 2 and page 3 needs to printed based on a condition.

    So design page 1 and in its general attributes take next page as page 2.

    Similarly for page 2 take next page as page 2 only.

    And at last of the all the elements used in page 2 to print the data, include a command line by right click --> create --> flow logic --> command and specify in the general attributes next page as page 3 and in the condition tab specify the condition to move to the next page.

    If the condition is meet, then page 3 will be used else page 3 will not be include in the output.

    Hope this solves your problem.

    Thanks & Regards,

    Tarun Gambhir

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      If you want to go to nxt page only if some condition is satisfied

      give that condition in conditions tab of all the contents of that page

      Hope it helps

      Revert back if any clarification is reqd

  • avatar image
    Former Member
    Jan 16, 2009 at 12:11 PM

    Hi all,

    Thanks for your suggestions.

    I have copied the Main Window in the third page also and set a condition where if the page is the third page and my condition, then go to page 4. This worked.

    Thanks once again to you all.

    Regards,

    AdapalaM

    Add comment
    10|10000 characters needed characters exceeded