Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  


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 does not need a paid license.

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

FM.TableStatistics - FM.UpdateRecord

💬 Ask a question or report a problem

Start Chat