cancel
Showing results for 
Search instead for 
Did you mean: 

Display Page Numbers in Smartforms( URGENT)

Former Member
0 Kudos

Hi Gurus,

My requirment to display page numbers in smartform is like "Page 1 of 10 "

So I am using system fields- &sfsy-page& of &sfsy-formpages&.

Suppose the total number of page is 100, its giving display like " 1 of * .

Can anyone please let me know why * is coming and how I can solve this issue.

Regards

Avi...

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Avi ,

use like this .....

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

if found useful,reward marks.....

Former Member
0 Kudos

Hi Das,

Thanks for the Reply

Its working fine can you please let me know what (3ZC ) is doing

Regards

Avi

Former Member
0 Kudos

i did not have exact idea about this one, but i studied this long time back..

recently it worked for me also....

if the information is useful, award merks....

Former Member
0 Kudos

3 = length

Z = suppress leading zeroes

C = compress (no spaces)

sharadendu_agrawal
Active Participant
0 Kudos

Tryout using some other variable like sfsy-formpages and then give the page numbers. May be this may help u.

Cheers,

Sharadendu

Former Member
0 Kudos

Hi Avi,

When you using the sfsy-formpages ,we should keep all the pages in the main memory unti form ends. I think your memory is not sufficient.

plz reward points if helpful

Thanks,

Suma.

Former Member
0 Kudos

Hi Suma,

Can you please let me know how I can keep all the pages in main memory. Or is there any alternative way for displaying page numbers .

Regards

Avi....