fm.evaluate (expression)

Evaluate a FileMaker expression, returning any results as a Python object.

Parameters:
   expression: FileMaker calculation

Result:
   result as text, or "?"

Error:
   Python exception

Script Step:
   N/A

––––––––––

First appeared in: 0.71

Examples in demo file: 1

Compatibility:   Client, macOS, Server, Ubuntu, WebDirect, WPE

––––––––––

An 'import fm' statement is needed in your Python script before using this method.

Since FileMaker globals can be accessed with this (eg., $$myGlobalName = "text"), it can be used both to set and get values from FileMaker.