Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is a form loaded?

Status
Not open for further replies.

Brig

MIS
Mar 14, 2000
5
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)
 
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


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top