Ths is rather embarassing but here goes. When I open FormA, I want FormB to
close. What would be the OnOpen event syntax for FormA to close FormB?
Thanks.
Docmd.Close acForm, "FormB"
You can also close it from the code that opens FormA the
same way and save putting code in two spots.

Signature
Gary Miller
Sisters, OR
> Ths is rather embarassing but here goes. When I open
> FormA, I want FormB to
> close. What would be the OnOpen event syntax for FormA to
> close FormB?
> Thanks.
MBoozer - 17 Dec 2005 04:13 GMT
Thanks Gary. Appreciate the help.
> Docmd.Close acForm, "FormB"
>
[quoted text clipped - 6 lines]
> > close FormB?
> > Thanks.