I have the following New Departure form in MS Access:

I want to be able to enter an Item ID (we can be sure that the entered value is valid and such a record already exists), and based on the entered Item ID open the record from the 1 Inventory table in this form (this should be the effect of pressing the Open button, or alternatively, pressing Enter).
I tried attaching the following Macro to the OnClick event of the Open button:

When I enter a value for Item ID, and press Open, always the last record in 1 Inventory is opened, no matter the entered value.
The property sheet of the Item ID field is the following:
property sheet 1
property sheet 2
Please help me solve this problem!
1- unbound the form's controls
Control Sourceand unbound form'sRecord Source2- Set
Item IDBefore Update Event InVBA Editor, To Check If Item Already Exist.3-and there is no need for
open buttondelete it dynamicallyitem nameWill be entered.4- use following code to save data to your table
new departurewhen you clicksave