cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Page number printing in smartform

Former Member
0 Kudos

Hi All,

I have a requirement wher i should print multiple PO in smartform. It is done..a small issue regarding printing of page numbers. Lets say i am printing three PO

first PO has 20 items

second has 2 items

third has 1 item.

Now the forst Po can have multiple pages it should print as

Page 1

page 2

page 3.

Now after the end of first PO second PO is printed on new page and numbered as Page 1..and so on.

So how can i do this.....

Thanks,

Regards,

Narsimha Kulkarni.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Create a paragraph format with dynamic page numbers.

Smartstyles>numbering and outline->select numbering type from list dropdown.

use this paragraph format for displaying the page number with any code.

and before processing your logic create a COMMAND in your smartform and in the reset paragraph numbering give your paragraph name so that it refreshes page numbers every new PO's. (you have place this according to your code).

Thanks,

Sree.

Pawan_Kesari
Active Contributor
0 Kudos

In the 'page node' at 'general property' tab there is option to specify the 'Page Counter Mode'

There are four possible values

Initialize : This will reset the page counter.

Increase : Increase the page counter by 1.

Leave Counter Unchanged : Does not increase page counter.

Page and Total Page Unchanged : Hold all the values.

Try changing these...

Former Member
0 Kudos

Use controle parameters in the program ,and manually open and close the form by using SSF_OPEN,SSF_CLOSE.

it may help u

regards,

Gopal

Former Member
0 Kudos

Hi,

I think you have to write logic in program lines for page numbers.

Regards

jana