Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Page number problem in smartforms

Former Member
0 Kudos

Hi experts,

I have this problel:

1. I have 2 documents, the first have 3 pages and the second with 2.

2. I would to print this page numbering: 1/3, 2/3, 3/3 for the first document, and 1/2 and 2/2 for the other one. I would print each documents in the same session, without multiple calling of the same form.

Is it possible?

Thanks.

2 REPLIES 2

Former Member
0 Kudos

Hi,

You have to create your own page counters and a new page window (type Final Window).

This window is executed at the end of the smartforms, once for page, and you can add the logic for your counters in this window (depending on page name, ...)

Regards,

Pepe

former_member203305
Active Contributor
0 Kudos

Hi

it is possible to do what u want.

r u using a Z program? if u r using it, i think that u need to call the smartforms 'n' times as 'n' documents, so the page number will be ok.

otherwise, u need to print just one doc per time.

&SFSY-PAGE&/&SFSY-FORMPAGES&</>

Regards