Weresmytriple
Registered User.
- Local time
- Today, 23:04
- Joined
- Sep 5, 2013
- Messages
- 58
hi all
i have created a button that works fine however it will only work one click per form load and i cant seem to figure out why.
here is my code any help will be much appreciated
thanks
michael
i have created a button that works fine however it will only work one click per form load and i cant seem to figure out why.
here is my code any help will be much appreciated
Code:
Private Sub BntExpired_Click()
Dim QryAllCourses As recordset
Do Until ExpiryDate > Date Or ExpiryDate = ""
MsgBox ([FirstName].Value + " " + [SecondName].Value + "'s course in " + [CourseName].Value + " has expired")
recordset.MoveNext
Loop
Exit_BntExpired_Click:
Exit Sub
Err_BntExpired_Click:
MsgBox Err.Description
Resume Exit_BntExpired_Click
End Sub
thanks
michael