Hi,
I am doing invoicing report based on a table that contains transaction details IDs, dates and customers.
Every report must have an serial id number. In order to keep invoicing in order i need to have a table that keeps a track of the invoice ids along with the transaction details ID every invoice holds. So it1s a table that have TransactionDetailsID with the same InvoiceID.
I have succeeded with an INSERT INTO tbInvoices (InvoiceID, TransactionDetailID) VALUES (InvoiceID, TransactionDetailID) using the report fields only if there is only one transaction per customer. However i do not have a clue how to do it if there are many transactions per customer.
thanks
I am doing invoicing report based on a table that contains transaction details IDs, dates and customers.
Every report must have an serial id number. In order to keep invoicing in order i need to have a table that keeps a track of the invoice ids along with the transaction details ID every invoice holds. So it1s a table that have TransactionDetailsID with the same InvoiceID.
I have succeeded with an INSERT INTO tbInvoices (InvoiceID, TransactionDetailID) VALUES (InvoiceID, TransactionDetailID) using the report fields only if there is only one transaction per customer. However i do not have a clue how to do it if there are many transactions per customer.
thanks