SetFocus to Other Control After Picking/Clicking from DatePicker

jmq

Registered User.
Local time
Today, 15:16
Joined
Oct 4, 2017
Messages
87
I want to move the cursor or set the focus to other control after i click or pick a date from the date picker.

i get error 2110 with this code:

Code:
Private Sub txtStart_AfterUpdate()
    DoCmd.GoToControl "txtEnd"
    txtEnd.SetFocus
End Sub
 

Users who are viewing this thread

Back
Top Bottom