fm.evaluate (expression)

Parameters:
   expression: FileMaker calculation

Result:
   result as text, or "?"
Error:
   Python exception
Script Step:
   N/A

––––––––––

First appeared in: 

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.

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

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