‎2008 Feb 12 10:24 AM
Dear All,
How can i print on of pages in the smat form in the following format :
Page x of y.
for that i have used system variable
SFSY-PAGE
SFSY-FORMPAGE
its working fine but i had to take a text fiels and then has to pass above variable.
But i dont know how many pages will be there in the report and it's not possible to take text field on the each page and then pass these variables.
Is there any method to do it in the smart form.
I want to show no. of pages on every page.
Thanks & Regatds,
Gulrez Alam
‎2008 Feb 15 4:49 AM
Hi!
Couldnt actually understand the problem, however, you can create a window on the page. In the window, create a text element and use &SFSY-PAGE& / &SFSY-FORMPAGES(Z)&. This should work perfectly fine.
Cheers!
‎2008 Feb 15 5:00 AM
Hi,
Check the following system variables:
&SFSY-PAGE&
Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
&SFSY-FORMPAGES&
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
&SFSY-JOBPAGES&
Contains the total page number of all forms in the currently processed print request.
Regards,
Bhaskar
‎2008 Feb 16 10:46 AM
Hi ,
i have used both system variable, but if i use text element it will show on first page, I am using dynamic window means page can be extended as per user input, it may be 1, 2 , 3 , 4 ....10 . may 100.
but how to display page no. on each page.
thanks in advance.
Gulrez