TrFile_VersionAutoUpdate (function reference)

By January 1, 2021January 26th, 2021Online Help, Troi File Plug-in
Troi File Plug-in > Functions reference > TrFile_VersionAutoUpdate
Troi File Plug-in for FileMaker Pro

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.

SyntaxFunction badge

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 16 to 19

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 functionFunction badge

TrFile_Version

Related topics

Troi File Plug-in online help (overview)


Online Help Page for Troi File Plug-in for 16 to 19 –> TrFile_VersionAutoUpdate (filep9002) 2021-0126 11:14:47