R
Rich
I want to activate code when the user exits a form that
contains a subform. I have tried several events inluding,
onclose, afterupdate, onunload, lostfocus, etc....all not
working. The variables that determine the results of code
execution are set when fields on the subform are updated.
I.e., AfterUpdate(Field1) myvar = "True".... Can anyone
help me execute this code when the subform is closed? Or,
can I not do it, and does the close event have to be on
the "mother" form? If it has to be on the "mother" form,
then how do I pass the values of the variables established
on the subform to the code for the close "mother" form
event?
contains a subform. I have tried several events inluding,
onclose, afterupdate, onunload, lostfocus, etc....all not
working. The variables that determine the results of code
execution are set when fields on the subform are updated.
I.e., AfterUpdate(Field1) myvar = "True".... Can anyone
help me execute this code when the subform is closed? Or,
can I not do it, and does the close event have to be on
the "mother" form? If it has to be on the "mother" form,
then how do I pass the values of the variables established
on the subform to the code for the close "mother" form
event?