cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Smartforms - page numbering

Former Member
0 Kudos

hi

I nee to print the page number in the smartform and i used the code below

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

My problem is SFSY-FORMPAGES is giving * for the first 10 pages and for the remaining pages, its giving the correct total page number.

why is the * appearing instead of the total page number?

please help. urgent

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

try with &SFSY-JOBPAGES& in place of FORMPAGES.

Madhavi

Former Member
0 Kudos

hi madhavi

i tried even that option. its not working

former_member196280
Active Contributor
0 Kudos

Try this it will solve your problem.

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

Regards,

SaiRam

Former Member
0 Kudos

Hi Sai ram,

thanq for your suggestion. this solves my problem.

what does (3ZC) mean?

former_member184657
Active Contributor
0 Kudos

hi rambo, can u tell me how u solved this problem of urs. im having the same issue but its not working for me.

how do u drag and drop the following field? i dont see it on my screen.

&SFSY-FORMPAGES(3ZC)&

even typing the above wudnt fetch me the result.

pls help.

pk

former_member184657
Active Contributor
0 Kudos

dont bother...

i got it.

but can anybody tell me wht 3ZC means?

pk

Former Member
0 Kudos

Hi

The last chars are using for formatting the fields.

Sequence of evaluation: suppress blanks (C), <offset> and (<length>), right-justified display (R),

insert fillers (F).

For example:

&field+<offset>& ---> Skips <offset> places of the field value (character fields only). If the

offset is greater than the length of the value, nothing is displayed.

&field(<length>)& -


> Sets the output length to <length>.

&field()&* -


>If the field is defined by a Data Dictionary type, Smart Forms set the

output length to the value specified there.

&field(S)& -


>Suppresses the sign

&field(<)& --->Displays the sign to the left of the number

&field(.<nat.number>)& -


> Limits output of decimal places to <nat.number>

&field(E<nat.number>)& --->Displays the field value with the fixed exponent <nat.number>. The

mantissa is adapted to this exponent by shifting the decimal

character and inserting zeros.

Reward points if its help.

Regards,

Oscar.

Edited by: Oscar Gallardo on Apr 15, 2008 7:06 PM

Former Member
0 Kudos

Hi prashanth.

You have to press button "Insert Field" in your text box, and type the field manually. &SFSY-FORMSPAGES(3ZC)&

Reward point if its help.

Regards,

Oscar.

Answers (0)