cancel
Showing results for 
Search instead for 
Did you mean: 

Windows in a SmartForms

Former Member
0 Kudos

My problem is this,

I need to condition a window like this:

if the document has more than one page, the window should appear only on the first page, if the document has only one page should not appear as ever ... how can I do if the system variable is valued at the end of each page so I can not know in advance how many pages have my document??

Thank you for your reply

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

There are ways to solve your problem.

Try to findout the number of line items that you are going to be printed on the form.

Check, page1 can hold how many line items..

Example: if page1 can hold 15 line items, then place a condition on windows with the line item count.. like count > 15.

I hope it will help you to solve your problem.

Regards,

SaiRam

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you very much

Former Member
0 Kudos

I think system variable "SFSY-FORMPAGES" will carry the total number of pages, so you can put the condition by using this variable.

andrs_sarcevic
Contributor
0 Kudos

How many lines the page can hold? You probably know that in advance, given you're passing that information.

Cheers.