D
Don Seckler
I have three queries one that shows the payments received from a
vendor, one that shows the value of product shipped to the vendor and
one that shows the value of product returned by the vendor. Each of
these queries will return multiple records for each vendor.
I am trying to calculate the balance owed by each vendor using the
data from these three queries. So I need to total the value of the
product shipped, then total the value of the returns and subtract it
from the shipments, and finally total the payments and subtract them
from the shipments as well.
I'd like to use this total in a report(statement) and also to write it
to a table for use as the starting balance for the next month's
statement.
I was thinking a query of the other three queries was the way to go.
Am I right? Anyone have any suggestions?
vendor, one that shows the value of product shipped to the vendor and
one that shows the value of product returned by the vendor. Each of
these queries will return multiple records for each vendor.
I am trying to calculate the balance owed by each vendor using the
data from these three queries. So I need to total the value of the
product shipped, then total the value of the returns and subtract it
from the shipments, and finally total the payments and subtract them
from the shipments as well.
I'd like to use this total in a report(statement) and also to write it
to a table for use as the starting balance for the next month's
statement.
I was thinking a query of the other three queries was the way to go.
Am I right? Anyone have any suggestions?