Community articleGetFormVersion function
Added by IBM contributorIBM on August 15, 2011
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.



Description

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

   Function GetFormVersion( ) As Integer


Parameters

There are no parameters for this function.

Returns

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.

Example

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
      Else
         CheckVersion = False
      End If
 
End Function


Parent topic:
FormNodeP functions