Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WordFile.SetFieldText
Sets field value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WordFile | 7.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "WordFile.SetFieldText"; WordFile; FieldName; FieldText ) More
Parameters
Parameter | Description | Example |
---|---|---|
WordFile | The reference number of the open word file. | $wordFile |
FieldName | The name of the field. | "Name" |
FieldText | The new field text. Multi line text doesn't work. |
"Hello" |
Result
Returns OK or error.
Description
Sets field value.The plugin looks for the field with given name and sets it's text.
Returns true if field was found.
Examples
Set a field value:
Set Variable [ $r; Value: MBS( "WordFile.SetFieldText"; $WordFile; "subject"; "Hello World" ) ]
See also
Release notes
- Version 7.5
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 15th November 2017, last changed 22nd June 2023
