cancel
Showing results for 
Search instead for 
Did you mean: 

Page numbering in smartforms?

Former Member
0 Kudos

Hi all,

In smartforms i suppose to give 'Continued to page number : N' (here N shud be 'sfsy-page + 1') at end of every page except the last page, i am able to do that, but this window is appearing in the last page also even if there is no page in the print out. Can anyone help me out how to stop that window from appearing in the last page.

I tried with conditon 'sfsy-page < sfsy-formpages' still the problem is occuring.

Regads,

Nagesh

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hİ,

You cannot comparison 'sfsy-page' and 'sfsy-formpages', cause they are equal for every page. So always 'sfsy-page = sfsy-formpages' .

Smartforms does not know how many pages in your forms at the begining of form. 'sfsy-page' is printed immediately for each page but 'sfsy-formpages' is printed every page at last. So they are always same.

You can try 'only after the end of the main window' condition in window conditions if usefull to you.

Regards,

Nas

Florian
Active Contributor
0 Kudos

And again...

please watch the dates before writing an answer...

~Florian

Former Member
0 Kudos

Knowledge is knowledge... It was not for points.

There is no answer. Somebody else can experiance this trouble and access this page. So maybe this answer ll help him/her.

Florian
Active Contributor
0 Kudos

But it makes noise. The next is knowing something other what might help and so on.

If you got knowledge to share write a document or a blog

But enough offtopic, this also does not help anybody...

~Florian

Former Member
0 Kudos

Try this condition,

SFSY-PAGE NE SFSY-FORMPAGES

Regards,

Joan

Former Member
0 Kudos

>

> Try this condition,

>

> SFSY-PAGE NE SFSY-FORMPAGES

>

> Regards,

> Joan

Check all the answers already given before responding to a question........This solution is already being given..

Vishwa.

Former Member
0 Kudos

Hi..

create a condition node and validate sfsy-page not equal to sfsy-formpages then only print pahe window.

Former Member
0 Kudos

Use

SFSY-PAGE LT SFSY-FORMPAGES

Former Member
0 Kudos

Ya, I used the same logic in the condition tab still the same problem.

Former Member
0 Kudos

Ya, I used the same logic in the condition tab still the same problem.

Former Member
0 Kudos
Former Member
0 Kudos

Hi

Just give this condition in the conditions tab of the window.

sfsy-page ne sfsy-formpages.

Then it will not come in the last page.

Vishwa.

SuhaSaha
Advisor
Advisor
0 Kudos

Hello Kumar,

As suggested by Vishwa

Just give this condition in the conditions tab of the window.

sfsy-page ne sfsy-formpages.

Did you use window type as "Finals Window" ?

BR,

Suhas

Former Member
0 Kudos

yes, I am using final window only,still the problem is same..

Former Member
0 Kudos

Ya, I used the same logic in the condition tab still the same problem.

Former Member
0 Kudos

hai..

Take the values of sfsy-pages into a variable, sfsy-formpages into into b variable in program lines,

Then give the condition a not equal to b.

Hope it will works.

Regards

Sekhar.C

Former Member
0 Kudos

just paste this in page number window

SFSY-PAGE >>>Current page

SFSY-FORMPAGES >>total pages

SFSY-PAGE/SFSY-FORMPAGES

This will show in the format

1/1

1/2

1/3

1/4

Former Member
0 Kudos

try this

SFSY-PAGE LT SFSY-FORMPAGES

Former Member
0 Kudos

Use

SFSY-PAGE LT SFSY-FORMPAGES