cancel
Showing results for 
Search instead for 
Did you mean: 

Script issue--Related to line items

former_member209914
Participant
0 Kudos

Hi All,

I am working on check printing. My print program is RFFOUS_C and form name is F110_PRENUM_CHECK.

I have to print the line items twice like below.

For suppose if I have 15 line items.

On Page1

First I have to print 5 line items

GAP

GAP

GAP

Then same 5 line items which are printed above.

Page2

Next 5 line items (i.e 6 to 10)

GAP

GAP

GAP

Then same 5 line items which are printed above(6 to 10).

Page3

Next 5 line items(i.e 11 to 15)

GAP

GAP

GAP

Then same 5 line items which are printed above(11 to 15).

This is my requirement.

How to restrict the no. of line items to 5 in script. where I have to write the logic in Form or else in print program.

Please Help me.

Regards,

vinod kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

U can do it two ways......

1. reduce the size of main window to the extent so tahat it can accomodate only 5 records.so when the records exceeds more than 5 it will over flow and data move automatically to next page.

2.u need to maintined text elements in the main window nad then apply the logic there only....

I prefer 1st one..:-)

Do Reward if useful.

Cheers Anup S.

former_member209914
Participant
0 Kudos

HI,

How to print linitems in the second window.

First 5 line items are in main window. To print the same line items again I created new window of type VAR.

But items are not displaying.

Regards,

vinod.

Former Member
0 Kudos

In variable window you cant print flowing data. Instead you can create another main wondow at the required place . It will print the same data.

Reward points if useful.

Regards,

Nageswar

Answers (0)