cancel
Showing results for 
Search instead for 
Did you mean: 

Sub total in scripts

Former Member
0 Kudos

Hi all,

Can anyone pls tell me how to get the subtotals in Scripts?

Thanks in Advance.

Regards,

Shake sha vali

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

use keyword SUM on particular field.

write this in driver program.

use int.table event- At New - Endat on that field.

this will work i hope.

Former Member
0 Kudos

Thank You

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I use control break statements in your program to calculate subtotal by using AT NEW.

once at new triggered call WRITE_FORM in your program and print the related TEXT ELMENT.