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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
WordFile.HasTag
Checks if a tag exists.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| WordFile | 5.4 | Yes | Yes | Yes | Yes | Yes |
MBS( "WordFile.HasTag"; WordFile; Placeholder ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| WordFile | The reference number of the open word file. | $wordFile |
| Placeholder | The name of the placeholder. | "City" |
Result
Returns 1 or 0 or error.
Description
Checks if a tag exists.The place holder in the document must start with « and end with » characters. The place holder you pass here, should not have those quotes.
If you change font or style of the text within the marker, it will not be recognized. So please keep all text between and including the « and » markers (or whatever is configured) within the same font style.
Examples
Checks for a tag city:
Set Variable [$r; Value:MBS("WordFile.HasTag"; $WordFile; "City")]
Created 5th November 2015, last changed 2nd May 2018
WordFile.GetXML - WordFile.MediaFiles
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins