Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Queries the ID for script with given name.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FM 5.1 Yes Yes Yes Yes Yes
MBS( "FM.ScriptIDForScriptName"; ScriptName { ; FileName } )   More


Parameter Description Example value
ScriptName The name of the script. "Test"
FileName Optional
Available in MBS FileMaker Plugin 7.5 or newer.
The name of the file to look inside.
If empty, we default to current file.


Returns number or error.


Queries the ID for script with given name.


Query script ID:

MBS("FM.ScriptIDForScriptName"; "Send Campaign")

Blog Entries

Release notes

Created 23th March 2015, last changed 1st October 2017

FM.SQL.Text   -   FM.ScriptNameForScriptID

Feedback: Report problem or ask question.

MBS Xojo tutorial videos