O
OfficeDev18 via AccessMonster.com
Grrr!
I call a separate CloseForm() subroutine, where I try to close a previous
form, from the current form's OnOpen event. I keep getting run-time error
2585: "This action can't be carried out while processing a form or report
event.
How the heck else am I supposed to close the thing!? I tried calling it from
the previous form's Close() event, but got the same error.
My code is simple: DoCmd.Close acForm, "FormName"
Thanks,
Sam
I call a separate CloseForm() subroutine, where I try to close a previous
form, from the current form's OnOpen event. I keep getting run-time error
2585: "This action can't be carried out while processing a form or report
event.
How the heck else am I supposed to close the thing!? I tried calling it from
the previous form's Close() event, but got the same error.
My code is simple: DoCmd.Close acForm, "FormName"
Thanks,
Sam