Hi Everyone don't know if anyone can help with the following :-
Just entering new customer information and would like to copy this info across to order from which I open from the customer input form and get the error message "Error 2448" (You can not assign a value to this object) The code I put in is :-
Private Sub OpenOrderInputForm_Click()
DoCmd.RunCommand acCmdSaveRecord
DoCmd.OpenForm "Form Orders Input", acNormal, , , acAdd
Forms![Form Orders Input]![CustomerID] = Me![CustomerID] ' This the line having a problem with
End Sub
Thanks All
Just entering new customer information and would like to copy this info across to order from which I open from the customer input form and get the error message "Error 2448" (You can not assign a value to this object) The code I put in is :-
Private Sub OpenOrderInputForm_Click()
DoCmd.RunCommand acCmdSaveRecord
DoCmd.OpenForm "Form Orders Input", acNormal, , , acAdd
Forms![Form Orders Input]![CustomerID] = Me![CustomerID] ' This the line having a problem with
End Sub
Thanks All