P
PayeDoc
Hello All
I have a form "main_table_subform_master" which I would like to close
automatically whenever the user clicks elsewhere on the screen (i.e. not on
the form in question).
I thought that putting the following code as the LostFocus event would work:
DoCmd.Close acForm, "main_table_subform_master", acSaveYes
.... but nothing happens when the user clicks elesewhere.
Why not, and what can I do?
Hope someone can help.
Many thanks
Leslie Isaacs
I have a form "main_table_subform_master" which I would like to close
automatically whenever the user clicks elsewhere on the screen (i.e. not on
the form in question).
I thought that putting the following code as the LostFocus event would work:
DoCmd.Close acForm, "main_table_subform_master", acSaveYes
.... but nothing happens when the user clicks elesewhere.
Why not, and what can I do?
Hope someone can help.
Many thanks
Leslie Isaacs