Link to home
Start Free TrialLog in
Avatar of awinemaster
awinemaster

asked on

Compute a total dollar amount on an order form where items use a different form

I am working on a back-end note database that will generate a packing slip.  I will be pulling in item documents with a dblookup based on a common order id.  This works ok, but I'd like to calculate the total price of all items.  Is this possible when the total is on one form and the prices are on individual item documents?  I was thinking of an @Sum of a dblookup?
ASKER CERTIFIED SOLUTION
Avatar of Viable1
Viable1

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
Avatar of awinemaster
awinemaster

ASKER

Thank you I figured it out in the meantime using the same method.  Here's the formula I used.

@Sum(@TextToNumber(@DbLookup("";"";"ItemLU"; Cart_OrderID; 4))) - @Sum(@TextToNumber(@DbLookup("";"";"ItemLU";Cart_OrderID;5)))