NearImpossible
Registered User.
- Local time
- Today, 13:00
- Joined
- Jul 12, 2019
- Messages
- 225
Hi all, been awhile since i've been around, but working on another Access database and have a question so I figured what better place since you guys have helped in the past!!
I have 2 tables with one being a temp build table where I can do quantity calculations (Table1) before moving it to the final table (Table2)
My question is, Is it possible to append the data from table 1 to table 2, but if the item already exists in table 2, then the quantity would be added to the exisiting value vs appending it?
Example :
Temp Table1
Exisiting Table2
End Result of Table2
Please advise
thank you
I have 2 tables with one being a temp build table where I can do quantity calculations (Table1) before moving it to the final table (Table2)
My question is, Is it possible to append the data from table 1 to table 2, but if the item already exists in table 2, then the quantity would be added to the exisiting value vs appending it?
Example :
Temp Table1
ItemID | ItemName | ItemQuantity | ItemMeasurement |
1 | Italian Seasoning | 2 | tbsp |
2 | Salami | 3 | oz |
Exisiting Table2
ItemID | ItemName | ItemQuantity | ItemMeasurement |
1 | Italian Seasoning | 5 | tbsp |
2 | Provolone Cheese | 3 | oz |
End Result of Table2
ItemID | ItemName | ItemQuantity | ItemMeasurement |
1 | Italian Seasoning | 7 | tbsp |
2 | Provolone Cheese | 3 | oz |
3 | Salami | 3 | oz |
Please advise
thank you