Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets a new name for a thread.

Component Version macOS Windows Linux Server iOS SDK
FM 6.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "FM.SetThreadName"; Name )   More


Parameter Description Example
Name The new name for the thread. "MyScript"


Returns OK or error.


Sets a new name for a thread.
On FileMaker Server each script is performed in a thread. You can use this function to name this thread. Then on a crash report you may find this name and than you can see which script may cause the problem.

This function is free to use.

Created 13th December 2015, last changed 3th April 2021

FM.SetSQLBatchMode - FM.StopScriptIdle