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.RemoveTableRow
Removes a table row containing a placeholder.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| WordFile | 7.0 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| WordFile | The reference number of the open word file. | $wordFile |
| Placeholder | The name of the placeholder. | "City" |
Result
Returns OK or error.
Description
Removes a table row containing a placeholder.If you have tables in your template word file and you only fill some rows, you can remove superfluous rows using this function.
Examples
Remove extra rows
Set Variable [$index; Value:5]
Loop
Set Variable [$r; Value:MBS( "WordFile.RemoveTableRow"; $WordFile; "Bst_Menge_" & If($index < 10; "0"; "") & $index)]
Set Variable [$r; Value:MBS( "WordFile.RemoveTableRow"; $WordFile; "Bst_Bemerkung_" & If($index < 10; "0"; "") & $index)]
Set Variable [$index; Value:$index + 1]
Exit Loop If [$index > 20]
End Loop
See also
Example Databases
Blog Entries
Release notes
- Version 7.0
- Added WordFile.RemoveTableRow function.
Created 20th December 2016, last changed 20th December 2016
WordFile.ReleaseAll - WordFile.ReplaceTag
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins