Parameter | Description |
---|---|
iMajor | Major revision number |
iMinor | Minor revision number |
iRelease | Release revision number |
iBuild | Build revision number |
Returns True (1) or False (0).
Function IsMinimalRevision Integer iMajor Integer iMinor Integer iRelease Integer iBuild Returns Integer
Call: | Get IsMinimalRevision iMajor iMinor iRelease iBuild to IntegerVariable |
Checks if a Connectivity Kit complies with a minimal revision.
You can also check the current Connectivity Kit revision and act upon that information. If, for example, certain functionality only works for version 3.0.0.48 or higher of the MS SQL Connectivity Kit, one could program:
Procedure DoVersionDependentThing Handle hoCLIHandler Get Create U_cCLIHandler To hoCLIHandler Set psDriverID Of hoCLIHandler To "MSSQLDRV" If (IsMinimalRevision(hoCLIHandler, 3, 0, 0, 48)) ; Send DoMyThing Else ; Send Stop_Box "Function not supported by this CK" End_Procedure // DoVersionDependentThing