Dec 5, 2000 #1 Brig MIS Joined Mar 14, 2000 Messages 5 Location US How can I tell if a form is loaded? I want to do this If (Form in question is loaded) then (close the form in question) else (open Form in question at new location) end if How do I (Form in question is loaded)
How can I tell if a form is loaded? I want to do this If (Form in question is loaded) then (close the form in question) else (open Form in question at new location) end if How do I (Form in question is loaded)
Dec 5, 2000 #2 dpaulson Programmer Joined May 7, 2000 Messages 347 Location CA It will be in the forms collection if it is loaded. Dim frm as Form for Each frm In Forms() If frm.Name = "frmBlahBlah" then Unload frm End If next David Paulson Upvote 0 Downvote
It will be in the forms collection if it is loaded. Dim frm as Form for Each frm In Forms() If frm.Name = "frmBlahBlah" then Unload frm End If next David Paulson