Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WordFile.RemoveTableRow
Removes a table row containing a placeholder.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WordFile | 7.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "WordFile.RemoveTableRow"; 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 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
Release notes
- Version 11.4
- Fixed a case where removing a table row with WordFile.RemoveTableRow function would not be saved.
- Version 7.0
- Added WordFile.RemoveTableRow function.
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 20th December 2016, last changed 20th December 2016