Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smart Form

Former Member
0 Likes
492

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

3 REPLIES 3
Read only

Former Member
0 Likes
445

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!

Read only

Former Member
0 Likes
445

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

Read only

0 Likes
445

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