Display message IF...

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!
 
B

Beetle

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
 
P

Peter

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top