cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms:Verify if main window had overflow.

Former Member
0 Kudos

Hi

I have the next problem.In my smartforms i have to display several items,each on a different page.One of these items can stretch on one or several pages.I have to number each page of the form,but the count has to be reset for each new item

so for ex.

if item 1 has 2 pages i will have on the first page : 1 of 2

second page : 2 of 2.

item 2 has 1 pg ...................................................: 1 of 1

My problem is that i theoretically have only one page per item ,but the main window can have overflow and they can stretch on several pages.

I don't think i can use the SFSY-PAGE or SFSY-FORMPAGES in this case.How can i see if the main window had overflow and how can i see on how many pages my item is stretching.

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If you know that fixed number of records are displayed in page,then u can do it.

Suppose in every page 50 lines(fixed) are displaying.

For first item suppose u have 220 records then divide 220 by 50 = 5(X variable) and if 220 mod 50 NE 0,

then X = X + 1. the total no. of pages = 6 for item 1. use command node to display next page numbers by increment one by one upto 6.

If you need more information, revert me.

Thanks and Regards,

Thilotham.