Here is code attached to a command button to open another form. In this case the form is named frmVendor. change the name to reflect your form name and also to reflect the name of your command button. Mine is obviously Command21.
Code:
Private Sub Command21_Click()
On Error GoTo Err_Command21_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmVendor"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command21_Click:
Exit Sub
Err_Command21_Click:
MsgBox Err.Description
Resume Exit_Command21_Click
End Sub
Alternatively, you could use code to reflect not in list event.
Look here for a link to that
http://allenbrowne.com/ser-27.html
Alan