Hi :
I have 2 tables.
table1 (invoices)
with fields : client, invoicedocument, invoiceamount
table2 (payments)
with fields: client, invoicedocument, payamount
(maybe 1 record, or more payments per invoicedocument)
i want a SELECT that shows
client, invoicedocument, invoiceamount, sum(payamount)
thanks in advanced
Manuel Salazar
I have 2 tables.
table1 (invoices)
with fields : client, invoicedocument, invoiceamount
table2 (payments)
with fields: client, invoicedocument, payamount
(maybe 1 record, or more payments per invoicedocument)
i want a SELECT that shows
client, invoicedocument, invoiceamount, sum(payamount)
thanks in advanced
Manuel Salazar