I have two tables. They both contain the field "InvoiceNumber". Table A has 1 record for "InvoiceNumber". Table B has multiple records for "InvoiceNumber". Both also have an "Amount" field and a "Quantity" field. I am trying to compare the "Amount" and "Quantity" fields for the matching records from each Table. Obviously the data from Table B will have multiple records and will need to be summed before they are compared.
I will also need to verify table B has at least one matching record for each record in table A.
Any idea on the best way to accomplish this?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.