Lifeseeker
Registered User.
- Local time
- Today, 12:52
- Joined
- Mar 18, 2011
- Messages
- 273
Hi,
I have this vba code written up in my main form, but when I click on go to next record button, the form won't respond.
In the after update event of the form, I have: (I have attached the database as well)
Private Sub Form_AfterUpdate()
If Me.a.Value = "yes" And Me.b.Value = "Yes" And Me.c.Value = "Yes" And Not IsNull(Me.d) Then
Me.ccm_patient.Value = "yes"
Else
Me.ccm_patient.Value = "No"
End If
End Sub
Any idea as to why the form is not allowing me to enter the next new record? I have checked the lock as well, but it's not locked.
Thank you very much
I have this vba code written up in my main form, but when I click on go to next record button, the form won't respond.
In the after update event of the form, I have: (I have attached the database as well)
Private Sub Form_AfterUpdate()
If Me.a.Value = "yes" And Me.b.Value = "Yes" And Me.c.Value = "Yes" And Not IsNull(Me.d) Then
Me.ccm_patient.Value = "yes"
Else
Me.ccm_patient.Value = "No"
End If
End Sub
Any idea as to why the form is not allowing me to enter the next new record? I have checked the lock as well, but it's not locked.
Thank you very much