C
Chris
I have created a form that has several fields (combo boxes and text
boxes) for data entry into a table. I would like be able to add a
command button that adds the entered information into the table then
resets the form (blanks) after that record is added. A popup that
says "New Record Has Been Added" would be nice, but optional.
I have already tried the following with no luck:
Private Sub pwdsame_submit_Click()
On Error GoTo Err_pwdsame_submit_Click
DoCmd.GoToRecord , , acAddNew
Exit_pwdsame_submit_Click:
Exit Sub
Err_pwdsame_submit_Click:
MsgBox Err.description
Resume Exit_pwdsame_submit_Click
End Sub
Can someone give me a step by step; I am a novice at Access.
Thanks in advance.
boxes) for data entry into a table. I would like be able to add a
command button that adds the entered information into the table then
resets the form (blanks) after that record is added. A popup that
says "New Record Has Been Added" would be nice, but optional.
I have already tried the following with no luck:
Private Sub pwdsame_submit_Click()
On Error GoTo Err_pwdsame_submit_Click
DoCmd.GoToRecord , , acAddNew
Exit_pwdsame_submit_Click:
Exit Sub
Err_pwdsame_submit_Click:
MsgBox Err.description
Resume Exit_pwdsame_submit_Click
End Sub
Can someone give me a step by step; I am a novice at Access.
Thanks in advance.