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

Problem with Smartform Pages

Former Member
0 Likes
522

Hi All,

 

I want to print the page numbers in Invoice list..

If there are 20 pages in Smartform then it should come as

Page: 1 of 1 ,1 of 2, 1 of 3 ,1 of 9,1 of 13 ,..... .

I am using this command &SFSY-PAGE& of &SFSY-FORMPAGES&

But for first 9 pages it prints like : 1 of * . Page Number 10 onwards it prints correctly : 10 of 20.

The length of the window is also adjusted.

is there any another way to print the pages with out *.

Thanks,

Siva Prasad

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
494

Hi Siva,

SFSY-JOBPAGES = total pages in your output

Insted of that use

&SFSY-PAGE& of &SFSY-JOBPAGES&

 

It will work,

Thanks ,

Kranthi Kumar Reddy G

Hi All,

 

I want to print the page numbers in Invoice list..

If there are 20 pages in Smartform then it should come as

Page: 1 of 1 ,1 of 2, 1 of 3 ,1 of 9,1 of 13 ,..... .

I am using this command &SFSY-PAGE& of &SFSY-FORMPAGES&

But for first 9 pages it prints like : 1 of * . Page Number 10 onwards it prints correctly : 10 of 20.

The length of the window is also adjusted.

is there any another way to print the pages with out *.

Thanks,

Siva Prasad

2 REPLIES 2
Read only

Former Member
0 Likes
495

Hi Siva,

SFSY-JOBPAGES = total pages in your output

Insted of that use

&SFSY-PAGE& of &SFSY-JOBPAGES&

 

It will work,

Thanks ,

Kranthi Kumar Reddy G

Read only

0 Likes
494

Thank U So Much ,

Its Working Fine

Regards,

Siva Prasad