i am finding it difficult to add a record to my access table 'employee' using a command button which i pasted on my form 'employee'. i have written the event code
Private Sub Add_Record_Click()
On Error GoTo Err_Add_Record_Click
DoCmd.GoToRecord , , acNewRec
Exit_Add_Record_Click:
Exit Sub
Err_Add_Record_Click:
MsgBox Err.Description
Resume Exit_Add_Record_Click
End Sub. but this is not working or i am unable to add a record to the table. can any one help me to solve this problem.