I have tried multiple ways of writing this but I am just not getting the code write. Hopefully you will be able to set me straight. I am using Access 2003.
This is the code which has been entered. I hope you can see what I am trying to do but it is just not working:
Private Sub InactiveReason_AfterUpdate()
If Not IsNull(Me.StaffActInact) Then
MsgBox "Change record to INACTIVE"
ElseIf IsNull(Me.StaffActInact) Then
MsgBox "Change record to ACTIVE"
ElseIf Me.StaffActInact = "" Then
MsgBox "Change record to ACTIVE"
Else
If Me.StaffActInact = " " Then
MsgBox "Change record to ACTIVE"
End If
End Sub