Is there an event when date is selected via date picker in Microsoft Access?

I have a text box for entering a date and it is set to use Access 2010's built-in date picker. Is there an event that fires when someone selects a date via the date picker? When I select a date via the date picker, it updates the date in the field but the before update and after update events of the field don't fire until I try leaving the field.

Thanks in advance!
jrmcanada2Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IrogSintaCommented:
Use the OnChange event for that control.  

Ron

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jrmcanada2Author Commented:
Thanks! That's perfect.
jrmcanada2Author Commented:
One more question ... is there a way to distinguish in then OnChange event between a change that came from selecting a date in the date picker and a change that is the result of typing in the field? Because now it works fine if they choose a date via the date picker but if they try typing a date, the event fires with every keystroke.

What I'm trying to do is execute code when a date is entered - either be typing or via the date picker.
IrogSintaCommented:
You could add a check in the OnChange event like this:
If IsDate(Me.NameOfDatePickerControl.Text) And Me.NameOfDatePickerControl.Text Like "*/*/####" Then

Ron
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.