F
Fjordur
Hi,
I'm trying to write a single procedure that will be called whenever any of
the fields of a form is modified. The idea is that this proc will check the
coherence of the form any time a field is modified, and maybe suggest
changes.
How can I get the Control object that was modified?
Tried to use the event proc for the "beforeUpdate" of each control to pass
the object to the main control proc but how do I get the control object in
the event proc? Me is not the control but the form object, so Me won't do.
Another way? Preferably if I could skip having an event proc for each field,
all procs making the same call to the main control proc... like calling
directly =mainProc() in each beforeUpdate property of each field, tha'd be
nice.
Thanks for the help
I'm trying to write a single procedure that will be called whenever any of
the fields of a form is modified. The idea is that this proc will check the
coherence of the form any time a field is modified, and maybe suggest
changes.
How can I get the Control object that was modified?
Tried to use the event proc for the "beforeUpdate" of each control to pass
the object to the main control proc but how do I get the control object in
the event proc? Me is not the control but the form object, so Me won't do.
Another way? Preferably if I could skip having an event proc for each field,
all procs making the same call to the main control proc... like calling
directly =mainProc() in each beforeUpdate property of each field, tha'd be
nice.
Thanks for the help