Text box not listening to instructions

Daveisalwayshere

Registered User.
Local time
Today, 12:16
Joined
Mar 14, 2014
Messages
31
Hi
I have set an on click for a combo box to update a text box, the problem is the textbox lags and doesnt display the right information in the box until i either click onto the text box or refresh the screen

I only have one event procedure attached to the combo box

Private Sub Combo24_Click()
Me.TruckNumID = Me.Combo24.Column(0)
End Sub

Any ideas what might be the issue? I have several subforms with the same functions however this one is the only one that does this
 
I added a refresh macro to the on change for the combo box and this seems to work but I'm still looking for the reason for the lag as this could be an indicator of an error
 
You want the after update event. The click event happens when the user clicks on the combo, so they may not have made a selection yet. The change event happens with every keystroke.
 

Users who are viewing this thread

Back
Top Bottom