Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
FM.TextWithDataType
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
Parameters
Parameter | Description | Example |
---|---|---|
Text | The text to use. | |
DataType | The new data type. Can be Number, Container, Date, Time, TimeStamp or Text. |
"Text" |
Result
Returns OK or error.
Description
Returns a new value with given type annotation.This is a very special function to create values you would normally never have in FileMaker.
Examples
Make "Hello" a time and check it:
MBS("FM.DataType"; MBS("FM.TextWithDataType"; "Hello"; "time"))
Example result: time
See also
Release notes
- Version 13.1
- Added FM.TextWithDataType function.
Blog Entries
This function is free to use.
Created 21st January 2023, last changed 21st January 2023