Thursday, March 26, 2009

Check if Form Exists


Function formExists (db As NotesDatabase, formType As String)
Dim formTypeYes As Boolean
Forall frm In db.Forms
If Isarray (frm.Aliases) Then
If frm.Aliases (0) = formType Then
formTypeYes = True
End If
End If
End Forall
formExists = formTypeYes
End Function

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.