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
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 does not need a paid license.
Created 21st January 2023, last changed 21st January 2023
