A
Angi
I have a Contact form that opens with the main form behind it after a
cmdbtn is clicked. When the last field loses focus, I want the form to
requery the main form and close the Contact form. It requeries the
main form but then I get an error that the form can't close. What do I
need to do to close this form programatically?? TIA!
Run-time error '2585':
This process can't be carried out while processing a form or report
event.
Then highlights this line:
DoCmd.Close acForm, "contactmainform"
cmdbtn is clicked. When the last field loses focus, I want the form to
requery the main form and close the Contact form. It requeries the
main form but then I get an error that the form can't close. What do I
need to do to close this form programatically?? TIA!
Run-time error '2585':
This process can't be carried out while processing a form or report
event.
Then highlights this line:
DoCmd.Close acForm, "contactmainform"