Category: Get

Syntax: Get ( ApplicationVersion )

Parameters: None

Data type returned: Text


Returns a text string representing the application and version:

Pro (version) for FileMaker Pro.

ProAdvanced (version) for FileMaker Advanced.

Runtime (version) for FileMaker Runtime.

Web (version) for FileMaker Web Client in cases where IWP is being hosted from FileMaker Pro or Pro Advanced.

Server (version) for FileMaker Web Server.

If you have allowed web access to a database, you may want to add conditional tests within some of your scripts so that they will behave differently for web and FileMaker Pro clients. To identify web users, use either of the following formulas:

 PatternCount ( Get ( ApplicationVersion ); "Web")

 Position ( Get ( ApplicationVersion); "Web"; 1; 1)

If either of these return anything other than 0, the user is a web client.


 Get ( ApplicationVersion )

Returns ProAdvanced 8.0v1 for FileMaker Pro Advanced 8.0v1.

If you add an unstored calculation field that performs Get(ApplicationVersion) to a database, and then extract the data as XML via Custom Web Publishing, you may get

 Web Publishing Engine 8.0v1

FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon © 2008-2017.
If you may any questions please contact us: