Steve Schapel
miscellany at mvps.org
Fri Apr 17 14:24:01 CDT 2009
Mark,
Why not use the built-in IsLoaded property, rather than trying to roll your
own? You could try this, probably easier:
If CurrentProject.AllForms("Form2").IsLoaded Then
...
Regards
Steve
--------------------------------------------------
From: "Mark A Matte" <markamatte at hotmail.com>
Sent: Saturday, April 18, 2009 6:03 AM
To: <accessd at databaseadvisors.com>
Subject: Re: [AccessD] ISLOADED fails?
>
> Ok...example:
>
> form1 and form2
>
> form1 is open...when it closes I want form2 to close, if it is open. I
> use isloaded("form2")...this is returing false...whether form2 is open or
> not?