afterupdate help

  • Thread starter Thread starter iridium
  • Start date Start date
I

iridium

I have a text field that is automatically filled by a calendar the
user clicks to the calendar a calendar pops up and with the ok the
calendar fills the text field. My problem is this text field suppose
to fill a check box for order close. The after update event work fine
when the text box is filled manually but it does not work when i use
the calendar.

this is the code i have after update.
if isnull(me.textbox) then
me.checkbox=false
else
me.checkbox=true

Any advice, thanks in advance.
 
Changing the value of a field in VBA code does not trigger the AfterUpdate
event.

I presume you are using some kind of calendar control. Is it initiated by a
button click? If so, use that event and check the value of the text field to
determine how to set your checkbox.

Steve
 
Back
Top