J jcarlier New member Local time Today, 19:03 Joined Mar 27, 2009 Messages 4 May 18, 2010 #1 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 ??
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 ??
ghudson Registered User. Local time Today, 13:03 Joined Jun 8, 2002 Messages 6,194 May 18, 2010 #2 I do not believe that it is possible to open the same form more than once if it is already open.
JamesMcS Keyboard-Chair Interface Local time Today, 18:03 Joined Sep 7, 2009 Messages 1,819 May 18, 2010 #3 Nope - double clicking on it in the database window just switches focus to the already-open form.
boblarson Smeghead Local time Today, 10:03 Joined Jan 12, 2001 Messages 32,059 May 18, 2010 #4 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.
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.
gemma-the-husky Super Moderator Staff member Local time Today, 18:03 Joined Sep 12, 2006 Messages 16,048 May 18, 2010 #5 you can test it though if isloaded("formname") .... i think isloaded is an intrinsic function
boblarson Smeghead Local time Today, 10:03 Joined Jan 12, 2001 Messages 32,059 May 18, 2010 #6 gemma-the-husky said: you can test it though if isloaded("formname") .... i think isloaded is an intrinsic function Click to expand... It is, but not in that way. You would need to use: If CurrentProject.AllForms("YourFormNameHere").IsLoaded Then ...
gemma-the-husky said: you can test it though if isloaded("formname") .... i think isloaded is an intrinsic function Click to expand... It is, but not in that way. You would need to use: If CurrentProject.AllForms("YourFormNameHere").IsLoaded Then ...