Public Function IsLoaded(sFormName As String) As Boolean
IsLoaded = ((SysCmd(acSysCmdGetObjectState, acForm, sFormName) <> 0) _
AND (Forms(sFormName).CurrentView <> 0))
End Function
Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.