Jul 28, 2009 #1 ToyFox Programmer Jan 24, 2009 161 US The before update event in my form is not firing. This is the code. If Me.txtStatus = "Completed" Then If Len(Trim(Me.txtComplete)) = 0 Then MsgBox "You must enter the complete date" Cancel = True Undo End If End If
The before update event in my form is not firing. This is the code. If Me.txtStatus = "Completed" Then If Len(Trim(Me.txtComplete)) = 0 Then MsgBox "You must enter the complete date" Cancel = True Undo End If End If
Jul 28, 2009 #2 PHV MIS Nov 8, 2002 53,708 FR Replace this: If Len(Trim(Me.txtComplete)) = 0 Then with this: If Trim(Me!txtComplete & "") = "" Then Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
Replace this: If Len(Trim(Me.txtComplete)) = 0 Then with this: If Trim(Me!txtComplete & "") = "" Then Hope This Helps, PH. FAQ219-2884 FAQ181-2886
Jul 28, 2009 Thread starter #3 ToyFox Programmer Jan 24, 2009 161 US Thank you Works much better. Upvote 0 Downvote