Community articleGetFormVersion function
Added by IBM contributorIBM on July 26, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars


This function determines the XFDL version of a form. You can call this function on any form node that is in the XFDL namespace.


   Function GetFormVersion( ) As Integer


There are no parameters for this function.


An integer in the form of &HMMmm0300, where MM is the major number and mm is the minor number. For example, a version 6.3 form would return: &H06030300.


The following function accepts a form node and returns a boolean that indicates whether the form is version 6.5 or higher.
   Function CheckVersion(TheNode)
      If (TheNode.GetFormVersion >= &H06050300) Then
         CheckVersion = True
         CheckVersion = False
      End If
End Function

Parent topic:
FormNodeP functions