Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form before_update event is not firing

Status
Not open for further replies.

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
 
Replace this:
If Len(Trim(Me.txtComplete)) = 0 Then
with this:
If Trim(Me!txtComplete & "") = "" Then

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top