Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I think this forum rocks it has saved my bacon many many times..."

Geography

Where in the world do Tek-Tips members come from?
tman138 (IS/IT--Management)
24 Jul 12 16:26
I have an Access 2010 database which uses a form that has a date picker enabled. What I want to do is requery some other fields on the form when that date changes. What I have found though is the fields 'After Update' event does not fire when the user enters a date using the date picker. I can come close to something usable by using the 'Lost Focus' event but it's kind of a kludge. Has anyone runs across an easy fix?
vbajock (Programmer)
25 Jul 12 15:25
Try the On Click event
tman138 (IS/IT--Management)
26 Jul 12 7:35
I've tried every event. Nothing triggers on the selection itself. You can change the date as many times as you wnat and never record an event. I have decided to disable the date picker and force the use to manual enter which will then hits the after update event. It's a nice feature ...unless you want to code with it.
missinglinq (Programmer)
28 Jul 12 18:53
The AfterUpdate event for the Control holding the date/time data should, indeed, pop when it is being populated via the native DatePicker! By native, I mean the small DatePicker that Access 2007/2010, by default, shows when entering a Textbox that is Bound to Date/Time Field.

You have to move off of the Textbox that holds the data, or Close the Form, before it pops, but that's true of the AfterUpdate event of any Textbox, regardless of how it's populated.

If it's not exhibiting this behavior, best guess would be that the Control itself is corrupted. Although we think in terms of Forms or Databases when corruption is mentioned, Controls can and do become corrupted. Easy solution for that is to Delete then Re-create the Control.

Note that the above is said assuming that you are talking about the built-in DatePicker that came with versions 2007/2010. ActiveX and Form-based DatePickers are a different story! They populate the Textbox through code, and doing so will, indeed, not pop the Control-associated events.

Linq ;0)>

The Missinglinq

Richmond, Virginia

The Devil's in the Details!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close