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


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


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.


Returns OK or error.


Sets field value.
The plugin looks for the field with given name and sets it's text.
Returns true if field was found.


Set a field value:

Set Variable [ $r; Value: MBS( "WordFile.SetFieldText"; $WordFile; "subject"; "Hello World" ) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 15th November 2017, last changed 22nd June 2023

WordFile.SetCaseless - WordFile.SetMarkers

💬 Ask a question or report a problem