Let me preface this with I have used Access (10 years ago) but really am learning again from scratch...
I have a database with 4 tables, only 2 of which I need to work with.
InvoiceTable
ClientName (Select from ClientTable)
InvoiceType (Select from LookUpTable)
InvoiceNumber (Primary Key - Number)
InvoiceDate (Date)
InvoiceAmount (Currency)
InvoiceComments (Long Text)
PaymentsTable
ClientName (Select from ClientTable)
InvoiceNumber (Select from InvoiceTable)
TransactionID (Primary Key - Number)
TransactionDate (Date)
TransactionAmou nt (Currency)
So I am looking to run a query that will sum(PaymentsTab le.TansactionAm ount) for all identical PaymentsTable.I nvoiceNumber's and then subtract that total from InvoiceTable.In voiceNumber that matches the sum of its Payments.
I hope that makes sense.
I have a database with 4 tables, only 2 of which I need to work with.
InvoiceTable
ClientName (Select from ClientTable)
InvoiceType (Select from LookUpTable)
InvoiceNumber (Primary Key - Number)
InvoiceDate (Date)
InvoiceAmount (Currency)
InvoiceComments (Long Text)
PaymentsTable
ClientName (Select from ClientTable)
InvoiceNumber (Select from InvoiceTable)
TransactionID (Primary Key - Number)
TransactionDate (Date)
TransactionAmou nt (Currency)
So I am looking to run a query that will sum(PaymentsTab le.TansactionAm ount) for all identical PaymentsTable.I nvoiceNumber's and then subtract that total from InvoiceTable.In voiceNumber that matches the sum of its Payments.
I hope that makes sense.
Comment