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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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. "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

Example Databases

Blog Entries

Created 15th November 2017, last changed 25th November 2019


WordFile.SetCaseless - WordFile.SetMarkers

Feedback: Report problem or ask question.