Posted By

CaptainProton on 05/08/10


Tagged

form


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
  3.  
  4. For Each loop In Forms
  5. If loop.Name = formName Then
  6. formIsLoaded = True
  7. Exit Function
  8. End If
  9. Next
  10.  
  11. formIsLoaded = False
  12. End Function

Report this snippet  

You need to login to post a comment.