How to display warning window

xaxier

Registered User.
Local time
Yesterday, 16:21
Joined
Apr 21, 2010
Messages
29
Hi Guys,

I had a combo box on my form with multiple choices like "yes", "No" and "Maybe" and what I have in mind is that the moment user choose "Maybe", a warning window will be displayed and remind the user that the answer "Maybe" will not be taken into account.

Please do advice how this can be done.

Thanks in advance!!
 
Put something like this in the afterUpdate event of your combobox, replace the boldpart with the acual name of the combobox.

Code:
Private Sub [B]NameOfCombo[/B]_AfterUpdate()
If Me.[B]NameOfCombo[/B] = "Maybe" Then
    MsgBox " Warning....."
End If
End Sub

JR
 
Thanks! seem to be working :D
 

Users who are viewing this thread

Back
Top Bottom