I have a table called TotalOrder_tbl which contains order information.
In my database the user can select a button to display order information on a form
called Order_frm. On the Open form event for this form, an input box is used to allow the user to enter
an order number and then a query pulls all of the line items of that order from the table TotalOrder_tbl
and creates the table ModifyOrder_tbl.
Then, the table ModifyOrder_tbl is used as a record source for a form called Modify_frm which allows
the user to add, change, or delete items to the ModifyOrder_tbl.
I have a button on the Modify_frm called Update and I would like for this to take the contents of
the table ModifyOrder_tbl and replace the fields that match these in the table TotalOrder_tbl.
I am guessing that an update query would do this but not sure how to set this up.
Fields in the two tables:
[Pre]
TotalOrder_tbl:
ID Date OrderNum Line Item Qty
ModifyOrder_tbl:
ID Date OrderNum Line Item Qty
[/Pre]
The ID in TotalOrder_tbl is a primary key auto number which matches the ID in the Modify_tbl
Any suggestions?
Thanks