I have a table named tblItems with a field "Qty"
I have another table, tblItemsSold, with fields "InvNo" for invoices number and "QtySold"
Both have UPC (barcode) fields.
What I need to do is when the "Complete" button is clicked:
All the Items (by UPC) with the same invoice number (InvNo) need to subtract the "QtySold" in tblItemsSold from "Qty" in tblItems.
I would like to do this through VBA so I can just plug it into the existing code I have.
I am rushed typing this ATM, so sorry if I left anything out that may make this confusing.