M
Mr.Smith
Does anyone know why the On Click event for combo boxes in Access XP
(don't know about other versions) doesn't work?
Specifically...
Create a new form, add a combo box and add the following Event Procedure
for the On Click event.
-------------------------------------
Private Sub Combo1_Click()
MsgBox "Display something"
End Sub
-------------------------------------
Ensure that [Event Procedure] appears in the On Click event section of
the Properties window.
Now run the form and click the combo box. Nothing happens. No msgbox
appears and even if you set a breakpoint on any line in the code, it
doesn't break execution. As I said in the subject, the event doesn't fire.
I need the On click event specifically as the On Enter and Got Focus
events (which do work) are not appropriate for my requirement.
Any assistance will be caressed gently and taken for warm loving showers
as I'm not in favour of sloppy command button workarounds to force code
execution via user interaction.
Tah Love,
Mr. Smith
(don't know about other versions) doesn't work?
Specifically...
Create a new form, add a combo box and add the following Event Procedure
for the On Click event.
-------------------------------------
Private Sub Combo1_Click()
MsgBox "Display something"
End Sub
-------------------------------------
Ensure that [Event Procedure] appears in the On Click event section of
the Properties window.
Now run the form and click the combo box. Nothing happens. No msgbox
appears and even if you set a breakpoint on any line in the code, it
doesn't break execution. As I said in the subject, the event doesn't fire.
I need the On click event specifically as the On Enter and Got Focus
events (which do work) are not appropriate for my requirement.
Any assistance will be caressed gently and taken for warm loving showers
as I'm not in favour of sloppy command button workarounds to force code
execution via user interaction.
Tah Love,
Mr. Smith