Force AfterUpdate event

I use the ActiveX Calendar control on several of my forms.  I just noticed that when a calendar is used to insert a date into a field on the form, the After Update event is not triggered.

Is there a way I can force the event to happen with VB code?

Thanks for your help.

Judith
JudithARyanTech SupportAsked:
Who is Participating?
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
Try the On Change event instead ...
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
and use the .TEXT property of the text box

Private Sub yourTextBoxName_Change()

   ' some code
   ' example
   If Me.yourTextBoxName.TEXT = <somevalue> ' or whatever ...

End Sub
0
 
JudithARyanTech SupportAuthor Commented:
DatabaseMX, the OnChange didn't work either.  However, I found by using the AfterUpdate on Time entery(Immediatelyfollow date entry) I can use its event to do my testing.

I accepted you comments as the solution, since you did give me something to try.  Thanks.

JR
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.