cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Smartform page numbers

Former Member
0 Kudos

Hi All

In my current smartform I am getting the value of formpages when the value of formpages is bellow 10. when the value is above 10 it is printing ' * ' in formpages up to page 9 from page 10 it is printing both the values of &PAGE& and &FORMPAGES&. Please do needfull .

Accepted Solutions (1)

Accepted Solutions (1)

amit_khare
Active Contributor
0 Kudos

use &sfsy-page(3zc)& of &sfsy-formpages(3zc)

Answers (4)

Answers (4)

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,

try this

Page&SFSY-PAGE& of &SFSY-FORMPAGES(3ZC)&

don't forgot to write 3zc otherwise it will show '*' ones the page no will exceed 10.

Or

&PAGE& will give current page no.

&FORMPAGES& will give total no of pages.

To display page nos in each page ,

PAGE &PAGE&( &FORMPAGES& )

this will display PAGE 1( 3 )

To display TOTAL PAGE no ONLY IN last Page, then you have to use the below logic.

/: if &NEXTPAGE& = 0

PAGE &PAGE&( &FORMPAGES& )

/: ENDIF

Regards

Kiran Sure

Former Member
0 Kudos

Hi,

Try this. &FORMPAGES(4ZCR)&.

Reward if helpful.

Tyken

Former Member
0 Kudos

hi

check required space is there or not , coz as it going in double digit it required more space.

reward if helpful.