Open Form

  • Thread starter Thread starter JimP
  • Start date Start date
Jim,

Try using this function.

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
 

Ask a Question

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.

Ask a Question

Back
Top