S
Sunflower
I have an event procedure on the exit of my sub form
CODE:
____________________
Private Sub LABORDETAIL_Exit(Cancel As Integer)
If Me.NULLSUM = 0 And Me.Status = "OPEN" Then
MsgBox "HEY!!!! YOU NEED TO CHANGE THE STATUS TO - COMPLETED!!"
End If
Me.Status.SetFocus
End Sub
_____________________
Works great when the status is "OPEN"
When make the following change to the second line of code...
If Me.NULLSUM = 0 And Me.Status = "OPEN" Or "Out On Proof" Or "At
Printer/Production" Or "On Hold" Or "Waiting on Someone Else" Then
I breaks!!!
I have also tried...
If Me.NULLSUM = 0 And Me.Status = IsNot("Completed") Then
What am I missing?
CODE:
____________________
Private Sub LABORDETAIL_Exit(Cancel As Integer)
If Me.NULLSUM = 0 And Me.Status = "OPEN" Then
MsgBox "HEY!!!! YOU NEED TO CHANGE THE STATUS TO - COMPLETED!!"
End If
Me.Status.SetFocus
End Sub
_____________________
Works great when the status is "OPEN"
When make the following change to the second line of code...
If Me.NULLSUM = 0 And Me.Status = "OPEN" Or "Out On Proof" Or "At
Printer/Production" Or "On Hold" Or "Waiting on Someone Else" Then
I breaks!!!
I have also tried...
If Me.NULLSUM = 0 And Me.Status = IsNot("Completed") Then
What am I missing?