G
Guest
I have a Inventory table that has many fields but for simplicity sake I am
only interested in two fields. The first is the PART NUMBER and the second is
END BALANCE both are numbers. I have a linked spreadsheet that gives me the
PART NUMBER and QUANITY used each month for all of the parts used in
production.
How can I UPDATE(we have multiple parts used so I do not want to do this
one part at a time) the INVENTORY TABLE automatically to place the difference
of what we started with and what we ended with in END BALANCE field.
I can write a query that performs the calculation of the between the number
of parts used and the number left in inventory, but how do you get it to
write that number to the END BALANCE in my INVENTORY TABLE.
Just so you know I wrote some code behind a button that using (rs![Part
Number] = Forms![Part Number], rs![beg balance] = forms![beg balance])
RECORDSET and it works , but it adds another line to the INVENTORY TABLE and
I want to just update the entry that already exists in the INVENTORY TABLE.
Whew - that was long winded
Thanks in advance
Curt
only interested in two fields. The first is the PART NUMBER and the second is
END BALANCE both are numbers. I have a linked spreadsheet that gives me the
PART NUMBER and QUANITY used each month for all of the parts used in
production.
How can I UPDATE(we have multiple parts used so I do not want to do this
one part at a time) the INVENTORY TABLE automatically to place the difference
of what we started with and what we ended with in END BALANCE field.
I can write a query that performs the calculation of the between the number
of parts used and the number left in inventory, but how do you get it to
write that number to the END BALANCE in my INVENTORY TABLE.
Just so you know I wrote some code behind a button that using (rs![Part
Number] = Forms![Part Number], rs![beg balance] = forms![beg balance])
RECORDSET and it works , but it adds another line to the INVENTORY TABLE and
I want to just update the entry that already exists in the INVENTORY TABLE.
Whew - that was long winded
Thanks in advance
Curt