cancel
Showing results for 
Search instead for 
Did you mean: 

Page Number issue in Smartform

mohit_bansal3
Active Participant
0 Kudos

Hi All,

Kindly note that I have used the below mentioned code to retrieve the

information for the current page number and the total pages in my smartform.

Code:

Page &SFSY-PAGE& of &SFSY-FORMPAGES&

And it works fine when the total number of pages(SFSY-FORMPAGES) is below 10

as shown below

Page 2 of 2 or

page 9 of 9

But when the total number of pages exceeds 9, the system starts showing

Page 2 of * or

page 9 of *

instead of

Page 2 of 10 or

Page 9 of 16

But surprisingly when the page counter reaches 10 it starts showing me the

correct information again . i-e

Page 10 of 10 or

Page 11 of 16

This behavior is indeed surprising, can any one help.

Thanks in advance.

Mohit

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Just include the following code in a text element at the bolltom of your smartform in a small window. It will surely work.

&SFSY-PAGE& of &SFSY-JOBPAGES&

Thanks

Nayan

Former Member
0 Kudos

Hi,

check out with this.

Here, you can specify your title and page numbering

&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)

reward points if useful

regards

vachana

former_member184657
Active Contributor
0 Kudos

u need to use the following code.

&SFSY-PAGES& of &SFSY-FORMPAGES(3ZC)&

to do this u first need to drag and drop the sfsy-pages and sfsy-formpages onto ur text area.

then click the "change field" button and then manually type "(3ZC)" next to formpages.

this will solve ur problem.

regards,

pk

Former Member
0 Kudos

Hi,

Welcome to SDN.

This question has come up before, I can't recall the solution, but if you search the forum you should find the solution.

Regards,

Nick