Hi All,
I have a calendar form that updates a date field on the form from which
it was called. I have code in the OnChange event of the date field that
I would like performed whenever the date value in the field is changed,
including when changed by selecting a new date from the calendar form.
The calendar form works as expected - when I select a date the date is
placed in the date field of the calling form, but the OnChange event
isn't fired by this change.
I'm wondering if this is expected behaviour? In essence, when I open
the calendar form I create a control object and set it to the relevant
date field on the calling form. Once a new date has been selected on
the calendar, the date value is assigned to the control object.
I'm curious to know if this might be because when you instantiate an
object as a reference to a control the object doesn't inherit or
pass-through to the control's event model? I may be clutching at straws
with that one, I admit.
Any help, as always, will be appreciated.
Much warmth,
planetthoughtful
---
"lost in thought"
http://www.planetthoughtful.org1