Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  


Checks if a tag exists.

Component: WordFile
Version: 5.4
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "WordFile.HasTag"; WordFile; Placeholder )


Parameter Description Example value
WordFile The reference number of the open word file. $wordFile
Placeholder The name of the placeholder. "City"


Returns 1 or 0 or error.


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.


Checks for a tag city:

Set Variable [$r; Value:MBS("WordFile.HasTag"; $WordFile; "City")]

WordFile.GetXML   -   WordFile.MediaFiles

Feedback: Report problem or ask question.

MBS Realbasic tutorial videos - Christians Software aus Nickenich