G
Guest
frmPerson is based on qryPerson
'Add Person' has following code, which does update tblPeople--by overwriting the first record
How do I get it to generate a new record
Private Sub cmdAddPerson_Click(
On Error GoTo Err_cmdAddPerson_Clic
DoCmd.GoToRecord , , acNewRe
'make everything visible
DoCmd.Requery qryPeopleAddNe
Exit_cmdAddPerson_Click
Exit Su
Err_cmdAddPerson_Click
MsgBox Err.Descriptio
Resume Exit_cmdAddPerson_Clic
End Su
'Add Person' has following code, which does update tblPeople--by overwriting the first record
How do I get it to generate a new record
Private Sub cmdAddPerson_Click(
On Error GoTo Err_cmdAddPerson_Clic
DoCmd.GoToRecord , , acNewRe
'make everything visible
DoCmd.Requery qryPeopleAddNe
Exit_cmdAddPerson_Click
Exit Su
Err_cmdAddPerson_Click
MsgBox Err.Descriptio
Resume Exit_cmdAddPerson_Clic
End Su