Hi,
I am trying to create a query to check what invoices have not been paid and how much is owing.
My setup is as follows:
WeeklyInvoiceTBL
ID
InvNo
Area
Customer
InvDate
Item
Quantity
PaymentsTBL
InvNo
Area
InvDate
TotalAmount
PayDate
ItemsTBL
ID
Item
Cost
I have then made a query which as the following
InvoiceTotalsQry
InvNo
InvDate
Area
SumOfQuantity
Item
Cost
GrossAmount
What Im trying to ahcieve is a Query that will show all invoices sent and also show invoices that have been paid.
When an Invoice has been paid, show 0, when an invoice has not been paid, show GrossAmount.
Currently, I have a query which shows all invoices paid but not the unpaid ones.
Is this possible.
Thanks