Display message IF...

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

1i again,,,

How do i display a message IF:

When updating texbox 1 to Yes and IF Textbox 2 is populated i want a
textmessage
to appear.

Thanks!
 
In the After Update event of textbox 1. As an example;

Private Sub TextBox1_AfterUpate ()

If me!TextBox1 = "Yes" AND Not IsNull(Me!TextBox2) Then
MsgBox "Your Message Here"
End If

End Sub
 
Thank you very much Beetle.. !

Beetle said:
In the After Update event of textbox 1. As an example;

Private Sub TextBox1_AfterUpate ()

If me!TextBox1 = "Yes" AND Not IsNull(Me!TextBox2) Then
MsgBox "Your Message Here"
End If

End Sub
 
Back
Top