A
andyk
Hi,
I have a combo box that seems to fire it's error handler on
every kind of event: click, change, etc.
I thought there might be something corrupt, so I created a
new db with a single form, and a single value "A" in a
value list, and I still get the error handler fining.
What is it that causes an error on a simple click event?
Am I totally missing something about combo boxes?
Any comments to enlighten me greatly appreciated.
Andy
below is simple code for event:
Private Sub Combo0_Click()
On Error GoTo Err_Combo0_Click
MsgBox "hi"
Exit_Combo0_Click:
MsgBox "exit click event"
Exit Sub
Err_Combo0_Click:
MsgBox "err click " & Err.Number & Err.Description
Resume Exit_Combo0_Click
End Sub
I have a combo box that seems to fire it's error handler on
every kind of event: click, change, etc.
I thought there might be something corrupt, so I created a
new db with a single form, and a single value "A" in a
value list, and I still get the error handler fining.
What is it that causes an error on a simple click event?
Am I totally missing something about combo boxes?
Any comments to enlighten me greatly appreciated.
Andy
below is simple code for event:
Private Sub Combo0_Click()
On Error GoTo Err_Combo0_Click
MsgBox "hi"
Exit_Combo0_Click:
MsgBox "exit click event"
Exit Sub
Err_Combo0_Click:
MsgBox "err click " & Err.Number & Err.Description
Resume Exit_Combo0_Click
End Sub