I am wondering how I can go about entering a number in a form and having it add that number to a sum in another table.
I have an inventory database that keeps track of current inventory items in tblInventoryItems and a table that keep track of transactions called TblTransactionHistory. There is quite a bit of data, so I don't want to include everything in one table where it needs to calculate levels all the time.
I want to be able to enter a number into the Transaction form--linked to transaction history--and have it update the transaction history table with a line in the table and update the inventory quantity in the main inventory table.
Is there a group of lines I can enter into code builder to accomplish this?
I have an inventory database that keeps track of current inventory items in tblInventoryItems and a table that keep track of transactions called TblTransactionHistory. There is quite a bit of data, so I don't want to include everything in one table where it needs to calculate levels all the time.
I want to be able to enter a number into the Transaction form--linked to transaction history--and have it update the transaction history table with a line in the table and update the inventory quantity in the main inventory table.
Is there a group of lines I can enter into code builder to accomplish this?
Last edited: