Combo Box OnClick Event Not Firing?????
Posted on 2008-11-17
I have a Combo Box on a Form and all I need to do is when the Combo Box is Clicked, Got Focus or On Enter, to simply select the entire field. I already have the db options set such that if the user Tabs into the field it will be selected.
I have tried the following code in OnClicked, GotFocus and OnEnter to no avail.... The only time the OnClick evet fires is when a selection is actually made in the combo box which doesn't seem correct to me.
Private Sub Combo12_GotFocus()
Me.Combo12.SelStart = 0
Me.Combo12.SelLength = Len(Me.Combo12)