formIsLoaded(String) As Boolean

/ Published in: Visual Basic
Save to your folder(s)

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

Copy this code and paste it in your HTML
  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


RSS Icon Subscribe to comments

You need to login to post a comment.