Skip to Content
avatar image
Former Member

smartforms pages

Hi experts,

i want to print data (Templete) in the last page of printout.

Example

1) if i have 1-3 pages and my last page is 3 then i want to print data on 4th page . likewise

2) if i have1- 5 pages and my last page is 5 then i want to print data on 6th page.

who to add conddition in templete.

there is no check box match with my requiremt in templet condition.

what will be logic. ?

              • Point is assured for Experts***********

              Add comment
              10|10000 characters needed characters exceeded

              • Follow
              • Get RSS Feed

              2 Answers

              • Oct 11, 2007 at 08:24 AM

                Yes, this option available in smartform, mostly it is used to print terms & conditions in the last page, you can the same logic and print your templet. to do this.. create a command at the end of your loop or line items in main window... now goto command attributes and tich the check box goto next page and specify the next page, note: here you can also place condition by selection output option tab.

                Regards,

                SaiRam

                Add comment
                10|10000 characters needed characters exceeded

                • Former Member Sai Ram Reddy Neelapu

                  Sai ram,

                  in Program line i have done coding like below

                  page_no = sfsy-formpages.

                  page_no = page_no + 1.

                  if sfsy-formpages <> page_no.

                  flag = 'X'.

                  elseif sfsy-formpages = page_no.

                  flag = 'X'.

                  endif.

                  but how to go on next page dynamically there is no option in command

                  its showing only

                  GOTO NEXT PAGE and there is list box where you can set PAGE1 or PAGE2.

                  But if page vary from 2 to 3 and 5 to 6 then what will be my Next page ?

              • avatar image
                Former Member
                Jan 23, 2008 at 06:38 AM

                thanks sia i have given point

                Add comment
                10|10000 characters needed characters exceeded