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


Returns a new value with given type annotation.

Component Version macOS Windows Linux Server iOS SDK
FM 13.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "FM.TextWithDataType"; Text; DataType )   More


Parameter Description Example
Text The text to use.
DataType The new data type.
Can be Number, Container, Date, Time, TimeStamp or Text.


Returns OK or error.


Returns a new value with given type annotation.
This is a very special function to create values you would normally never have in FileMaker.


Make "Hello" a time and check it:

MBS("FM.DataType"; MBS("FM.TextWithDataType"; "Hello"; "time"))

Example result: time

See also

Release notes

Blog Entries

This function is free to use.

Created 21st January 2023, last changed 21st January 2023

FM.TableStatistics - FM.UpdateRecord