How can I retrieve, in VBA code, the name or other ID of the active form (if any, there may also be no open forms)? David 'Dasher' Kempton
The Soundsmith
There is a function that comes with one of the default databases, possibly Northwind, called isLoaded. I always import this function into my apps as I find it really useful. You can then use it like:
if isloaded("form" then
doSomething
else
doSomethingElse
end if
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.