cancel
Showing results for 
Search instead for 
Did you mean: 

Plz it's urgent

Former Member
0 Kudos

hi

I want to display "Continue" word in all pages except last page . How we write logic for this.

I tried in Text elements -> conditions tab

sfsy-page < sfsy-formpages.

But it is not working.

Please reply.

Reward points if helpful.

Regards

Rami Reddy

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

You can try it with the following methods.

1) There is a variable &NEXTPAGE& which returns value '0' on last page. So check the variable &NEXTPAGE&. IF it is '0' then don't print 'CONTINUE'.

2) Subtract '1' from formpages. Assign it to a variable say var1.

do var1 times

print continued.

enddo.

Hope it will solve your problem.

Thanks,

Parul.

Former Member
0 Kudos

Hi ,

Sorry for Late Reply,

It asked you to explain your scenario..

but you hven't..

Let me assume you want to print 10 records.. for example While printing some letters for 10 employees altogether each letter is one page text.

Its One method of woring the above requirements..

1) Create a window.. -> create a Program lines ( inside specify the code shown below )

describe table it_table lines lin.

a = a + 1.

var = 'contined'.

In the Input Parameters call the Variables, you are going to use.

In the Output parameters pass the Variables, you want in the next node..

Such as VAR & A to compare in the TEXT Node Below

Note :

Assuem , it_table contains number of records.

Lin contains the number of records

A could be a integer.

Var is of type c or string.

Define all the variable use in Global Definition.

2) Create a Text Node .

call the VAR field here..

place a condition in the condition tab a less than lin.

reward point if its useful.

Former Member
0 Kudos

Hi can you explain you scenario..

So that it will be little bit quite help ful to answer.

regards

Prabhu

Former Member
0 Kudos

hi

My requirement is to print " CONTINUED " at end of the page

and it will not print on the last page.

Regards

Rami Reddy

Former Member
0 Kudos

Hi

try using sfsy-jobpages instead of form pages

Regards

Shiva