You are confusing the form properties with the individual control properties on the form.
- Open the form in design mode
- Find the textbox control named CustomerID and select it
- In the CustomerID properties window, look for the Default Value property
- Make sure it is blank
Further, it sounds like you are using ACCESS like a spreadsheet by passing values between forms. Do you have Primary Keys and Foreign Keys established so that relationships can exist between your tables? Have you established these relationships? Because if you have not, then you need to start over with your design and get that properly established first.
That said, if both forms are open and assuming:
- The customer input form has the correct customer record selected
- The Orders Input form has a new record selected AND is the active form
- Then you can pass the CustomerID FROM the customer input form TO the Order input form with:
Me.CustomerID = Forms![Form Orders Input]![CustomerID]
The 'Me' refers to the active order input form. You have it backwards in your original code.
And this is assuming the CustomerID textbox on the customer input form AND the CustomerID textbox on the order input form BOTH are named CustomerID.
Also, remove the DoCmd.RunCommand acCmdSaveRecord. It is useless.