Link to home
Start Free TrialLog in
Avatar of Basicfarmer
BasicfarmerFlag for United States of America

asked on

Sum the column in a subdatasheet.

I have a subdatasheet in a form. It is  for parts used on an invoice.

Qty    PN     Desc      Unit cost      Amount     Discount      Total

Amount is = [Qty]*[Unit Cost]

Total is = [Amount]*[Discount]

There may be 5 or so parts that are used on an invoice.

So there would be 5 values in the total column.

How do I get the sum of these totals no matter how many rows there are?

Any help would be greatly appreciated...

Thanks...
Avatar of SashP
SashP

On the sub datasheet footer create a control with the formula

=Sum([Qty]*[Unit Cost])

and another with the formula

= Sum([Amount]*[Discount])

Placing the control in the footer section will sum all the records in the detail section
ASKER CERTIFIED SOLUTION
Avatar of Y2Chris75
Y2Chris75

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial