cancel
Showing results for 
Search instead for 
Did you mean: 

Script-Layout

Former Member
0 Kudos

Hi Experts,

I have Created my own Layout without using any standard Layout,i have defined PAGE1 and PAGE2,The problem is coming with the Lines i.e.,if there are more line items the horizontal lines should fill the main window and the lines should move to second page,total amount has to come in second page,if there are less line items,the horizonal lines should end up in first page along with the Total.

Thanks in Advance.

With Regards,

Sharmishta.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sharmishta,

For Total create a separate window and use this condition it will work.

\: If &NEXT-PAGE& = 0.

T Print &Total&

\: endif.

In order to follow the line items to second page ... In standard Arributes of First page : Page : Page1

Next Page : Page2

In the same way in Page2 standard attributes Page : Page2

Next Page : Page2.

Thus solves your problem.

Regards,

sg.

Former Member
0 Kudos

Hi Suneel,

Line Items are moving to next page but Problem is with Horizontal Lines i.e., if it has two pages the lines have to fill up the main window,

I hav tried it even using condition If &PAGE& eq 1,else condition also.

But its not moving,unable to move the lines.

With Regards,

Sharmishta.

Answers (1)

Answers (1)

mahaboob_pathan
Contributor
0 Kudos

hi

after main window take a seperate window for total

and in conditions of that check the check box only after mainwindow.

and now after first page mainwidow node create one command node and give page2 in that so that u will get line items in next page if u have more line items.