TrFile_VersionAutoUpdate |
Use this function to see which version of the plug-in is loaded, formatted for FileMaker Server’s AutoUpdate function. Returns 8 digit number to represent an AutoUpdate version.
Syntax
TrFile_VersionAutoUpdate
Parameters
none |
Returned Result
Data type returned
Text
Result
The function returns ? if this plug-in is not loaded. If the plug-in is loaded the result is a version number, it is returned in the format aabbccdd where every letter represents a digit of the level, so versions can be easily compared.
Originated in
Troi File Plug-in 4.6
Compatibility
FileMaker Pro 17 to FileMaker Pro 21 (2024)
Considerations
The TrFile_VersionAutoUpdate function is part of a standard for FileMaker plug-ins of third party vendors of plug-ins. The version number can be easily compared, when using the Autoupdate functionality of FileMaker Server.
Example
TrFile_VersionAutoUpdate
will return 09060000 for version 9.6
TrFile_VersionAutoUpdate
will return 10020304 for version 10.2.3.4
So for example to use a feature introduced with version 10.2 test if the result is equal or greater than 10020000.
Used in example file
Version.fmp12
Related function
TrFile_Version |
Related topics
Troi File Plug-in online help (overview)