KevinSlater
Registered User.
- Local time
- Today, 17:32
- Joined
- Aug 5, 2005
- Messages
- 249
i have the following code in a form (continues form):, the "absence reason" field is a drop down field box with 2 columns (absence code, & absence reason) but the code doesnt work, any ideas what a monkey like me is doing wrong?, please help (ive tried in after update & on current events instead but still doesnt work)
when "H" is selected id like a message displayed
Private Sub ABSENCE_REASON_BeforeUpdate(Cancel As Integer)
If Me.ABSENCE_REASON.Value = "H" Then MsgBox "holiday has been selected"
End If
End Sub
when "H" is selected id like a message displayed
Private Sub ABSENCE_REASON_BeforeUpdate(Cancel As Integer)
If Me.ABSENCE_REASON.Value = "H" Then MsgBox "holiday has been selected"
End If
End Sub
Last edited: