WordFile.DuplicateTableRow
--------------------------

Duplicates a table row containing a placeholder.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WordFile](component_WordFile.md) | [7.1](newinversion71.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

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

**MBS**( **"WordFile.DuplicateTableRow";** /\* Duplicates a table row containing a placeholder. \*/  
**$WordFile**; /\* The reference number of the open word file. \*/   
**$Placeholder**) /\* The name of the placeholder.e.g. "City" \*/ 

### 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

Duplicates a table row containing a placeholder.  
If you have tables in your template word file and you like to duplicate rows in place, just call this function with a placeholder field in that row.  
  
Use [WordFile.AppendTableRow](WordFileAppendTableRow.md) to add new row to the end or WordFile.DuplicateTableRow to add it after the referenced one.  
### See also

- [WordFile.Append](WordFileAppend.md)
- [WordFile.AppendTableRow](WordFileAppendTableRow.md)

### Release notes

- **Version 7.1**
    - Added [WordFile.AppendTableRow](http://www.mbsplugins.eu/WordFileAppendTableRow.shtml) and [WordFile.DuplicateTableRow](http://www.mbsplugins.eu/WordFileDuplicateTableRow.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 7.1pr1](https://www.mbsplugins.de/archive/2017-02-04/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2021, Seite 20](https://filemaker-magazin.de/neuigkeit/4165-Appetithappen-FMM_202106)

This function checks for a license.

Created 26th January 2017 , last changed 26th January 2017

  
[WordFile.Contains](WordFileContains.md) - [WordFile.FieldNames](WordFileFieldNames.md)

[HTML Version](WordFileDuplicateTableRow.shtml)