OK Guys heres another little project...
I have this form that I am using to populate a table. I have a button on the form which is basically used to add info into the table. The button has this code on it:
Private Sub Add_Click()
On Error GoTo Err_Add_Click
DoCmd.GoToRecord , , acNewRec
Exit_Add_Click:
Exit Sub
Err_Add_Click:
MsgBox Err.Description
Resume Exit_Add_Click
End Sub
When i fill out the fields and press this button the first time it populates the field. When i make a second entry, it write the information over the the fields that are already populated. In other words it is being replaced. I don't want it to work like that, I just want it to continue populating the table. Is there somthing I am missing?
Thanks for the help guys and gals....
I have this form that I am using to populate a table. I have a button on the form which is basically used to add info into the table. The button has this code on it:
Private Sub Add_Click()
On Error GoTo Err_Add_Click
DoCmd.GoToRecord , , acNewRec
Exit_Add_Click:
Exit Sub
Err_Add_Click:
MsgBox Err.Description
Resume Exit_Add_Click
End Sub
When i fill out the fields and press this button the first time it populates the field. When i make a second entry, it write the information over the the fields that are already populated. In other words it is being replaced. I don't want it to work like that, I just want it to continue populating the table. Is there somthing I am missing?
Thanks for the help guys and gals....