Skip to main content

TrFile_VersionAutoUpdate (function reference)

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 FileMaker Pro 2023

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 2023 –> TrFile_VersionAutoUpdate (filep9002) 2023-0601 16:12:13