cancel
Showing results for 
Search instead for 
Did you mean: 

need help!

Former Member
0 Kudos

Dear All,

I have one main window in script and there I am disploaying few line items.

Just below the main window I have created another window for displaying total of the line item.

How I will adjust the window that TOTAL should comes exactly below the line items.

Please guide.

Thanks & Regards,

Abhay.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

r u printing for each page or only for last page?

If it is only for last page then describe number of line items and then count a variable in the loop , then put the condition

if v_count eq v_total.

print totlas.

endif.

Regards,

Nageswar

Former Member
0 Kudos

First define what could be the maximum no of line items on the main window. If document line items are less than the 10 then calculate the no of blank lines to be inserted.

For example for 4

blank lines = 10 - 4 = 6

This way the total would be printed at same place for any document irrespective of no of line items.

anya

Former Member
0 Kudos

Hi Abhay,

Use the same paragraph format as the one used for line items and give the same tabs for printing the total.It will work fine.

Reward if helpful.

Thanks,

Dishant