cancel
Showing results for 
Search instead for 
Did you mean: 

Script Window Printing.....Urgent

Former Member
0 Kudos

Hi,

i'm modifying script rvroder01. i have 2 issues please try to give solutions.

1) i need to print one text window after the main window once the line items in main window finished. suppose line item less then i need to print the text window in first page after line items window (main window in my case) if the line times more then in second page after finishing line items i need to print text window in second page. how to check the condition to write the code.

2) in first page i need to print only 6 line items. if more than 6 then that should print in next page. in next page also only 20 line items should print. how to do this.

Thanks & Regards

Munna

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

1) Use a Flag for this purpose. After your ENDLOOP, set the flag.

Call the tsxt element for text printing only if the flag is set.

Else clear the flag.

2) Set a counter for the number of line items. Once it exceeds the set value of six,

use control_form with element as NEW_PAGE.

Apply the same for count 20.

Hope this Helps!! Reward points if it does!