S
sophie
I am developing a database which will carry customers
billing information.
There are 2 tables: Customers and Orders
I need to run a query that will tell me the number of
outstanding debts and the amounts each customer has. I
know how to get the total amount of outstanding debts
using a calculated field [total]-[payments].
What i want the next query to do is to count the total
nubmer of calculated fields (as above) that are over 0 -
this field will tell me how many unpaid orders each
custoemr has. Ie. they have "x" number of outstanding
payments.
thanks.
billing information.
There are 2 tables: Customers and Orders
I need to run a query that will tell me the number of
outstanding debts and the amounts each customer has. I
know how to get the total amount of outstanding debts
using a calculated field [total]-[payments].
What i want the next query to do is to count the total
nubmer of calculated fields (as above) that are over 0 -
this field will tell me how many unpaid orders each
custoemr has. Ie. they have "x" number of outstanding
payments.
thanks.