cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORMS: Total Pages replaced by an Asterisk

Former Member
0 Kudos

hi all,

can u help me why smartforms replace &SFSY-JOBPAGES& by * for all values greater than 9? Have someone already experience this?

thanks,

sid

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

u00A0

Former Member
0 Kudos

U can assign &SFSY-JOBPAGES& into a variable and use...

Former Member
0 Kudos

Hi,

Check whether there is enough space in the window to display the total pages.

Regards

Wenceslaus

Former Member
0 Kudos

i did tried to insert a program line just before the TEXT node where page number is displayed and i put the following code:

V_TOTPAGES = SFSY-JOBPAGES.

But the variable v_totpages value is the current page number.

Former Member
0 Kudos

Try

SFSY-FORMPAGES

Former Member
0 Kudos

hi Shibu,

i tried SFSY-FORMPAGES and assigned to my variable v_totpages but v_totpages always assigned the page number not the total page...

Former Member
0 Kudos

Then you have to find manually that how many pages are consuming. ie find out the number of entries in a single page and divide it with total number of records..

Hope this logic will work for you...

Former Member
0 Kudos

hi all,

i've solve the problem with the following formatting:

&SFSY-FORMPAGES(Z5)&

this displays 5 digits and suppress leading zeroes...

thank u all anyway

david_escofettrenado
Participant
0 Kudos

Thanks Sid,

Working fine for me.