C
cmichaud
I have this in my afterupdate event for a box. If the user enters yes
i want to go to a new record on the same subform. If they enter no i
want to move to a different control on a different subform.
can you help. i am new.
here is my code.Please help
Private Sub AllergyID_AfterUpdate()
If MsgBox("Do you want to add another Allergy?", vbQuestion & vbYesNo)
= vbYes Then
DoCmd.GoToRecord , , acNewRec
Else
(this is what i dont know what to put)
End If
End Sub
i want to go to a new record on the same subform. If they enter no i
want to move to a different control on a different subform.
can you help. i am new.
here is my code.Please help
Private Sub AllergyID_AfterUpdate()
If MsgBox("Do you want to add another Allergy?", vbQuestion & vbYesNo)
= vbYes Then
DoCmd.GoToRecord , , acNewRec
Else
(this is what i dont know what to put)
End If
End Sub