Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.5 8.0 8.1 8.2 8.3 8.4 8.5 9.0 9.1 9.2 Statistic
Stores a named variable that can be retrieved later using FM.VariableGet.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|Name||the name of the variable|
|Value||the value to assign to the variable|
DescriptionStores a named variable that can be retrieved later using FM.VariableGet.
Unlike the variables that were introduced in FileMaker 8 these variables are not limited to the File or Script. In other words they can be retrieved from any file in the system regardless of where they were declared. All values are stored in their native data types (up to version 4.4 only text).
Use FM.VariableClear to clear the variables or FM.VariableClearAll to clear them all. FM.VariableList returns list of all defined variables.
On server, the variables are shared by all users connected to the server. So e.g. on Web Direct all users have the same set of global variables via plugin. You can prefix variables with user ID/Name to make them per use unique.
Set a variable
- Utility functions/Global Variables
- CURL/WebViewer Download Images with CURL
- Drag and Drop/for Mac/Image drag from one database to other/Image drag
- Drag and Drop/for Mac/Text drag from one database to other/Text drag
- Third Party/FileMaker Snippet Storage
Created 18th August 2014, last changed 24th July 2018
Feedback: Report problem or ask question.
MBS Xojo blog