same form already open

jcarlier

New member
Local time
Today, 19:03
Joined
Mar 27, 2009
Messages
4
Hi,

i would like to know , when i open a form , if an instance of the same form is already open ??

How can i resolve it ??

have you an detailed example of it ??

Thanks

sorry for my poor english ??
 
I do not believe that it is possible to open the same form more than once if it is already open.
 
Nope - double clicking on it in the database window just switches focus to the already-open form.
 
unless you instantiate it in a special way, it will only do it once. But it IS possible, using the right code to instantiate a form more than once.
 
you can test it though

if isloaded("formname") ....

i think isloaded is an intrinsic function
 
you can test it though

if isloaded("formname") ....

i think isloaded is an intrinsic function

It is, but not in that way. You would need to use:

If CurrentProject.AllForms("YourFormNameHere").IsLoaded Then ...
 

Users who are viewing this thread

Back
Top Bottom