After Update not working

  • Thread starter Thread starter Alan Fisher
  • Start date Start date
A

Alan Fisher

I have a form with a calendar in the header and I have a
date text field in the detail section. I have put code in
the double click of the date field which brings the
calendar date in and that works just fine. The problem is
I have code in the After Update event of the date field
that doesn't run when I use the double click method. If I
manually enter the date the code works just fine. If I put
the same code after the code in the double click event it
also works but the user may not always double click to
bring the date in. That leaves me with putting the same
code in both the double click and after update events. It
seems like there should be a less redundant way to do
this. Any ideas?
 
Alan,

One way to handle this sort of situation is, for example, put the code
in the After Update event, and then, at the end of the DoubleClick
event, you can put the equivalent of...
Call MyDateField_AfterUpdate
 
Back
Top