Posted By

CaptainProton on 05/08/10



Versions (?)

formIsLoaded(String) As Boolean

 / Published in: Visual Basic

This function returns True if the specified form is open in form view or datasheet view.

  1. Private Function formIsLoaded(formName As String) As Boolean
  2. Dim loop As Form
  4. For Each loop In Forms
  5. If loop.Name = formName Then
  6. formIsLoaded = True
  7. Exit Function
  8. End If
  9. Next
  11. formIsLoaded = False
  12. End Function

Report this snippet  

You need to login to post a comment.