Matrix.CopyRow
--------------

Copies a row from one (or same) matrix to another row.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Matrix](component_Matrix.md) | [10.2](newinversion102.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Matrix.CopyRow"; Matrix1; Row1; Matrix2; Row2 ) 

**MBS**( **"Matrix.CopyRow";** /\* Copies a row from one (or same) matrix to another row. \*/  
**$Matrix1**; /\* The matrix reference number. \*/   
**$Row1**; /\* The zero based row number.e.g. 2 \*/   
**$Matrix2**; /\* The matrix reference number. \*/   
**$Row2**) /\* The zero based row number.e.g. 2 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Matrix1 | The matrix reference number. | $matrix1 |
| Row1 | The zero based row number. | 2 |
| Matrix2 | The matrix reference number. | $matrix2 |
| Row2 | The zero based row number. | 2 |

### Result

Returns OK or error.

### Description

Copies a row from one (or same) matrix to another row.  
### Release notes

- **Version 14.0**
    - Fixed a problem in [Matrix.CopyRow](https://www.mbsplugins.eu/MatrixCopyRow.shtml) when using row names.
- **Version 10.2**
    - Added [Matrix.CopyColumn](https://www.mbsplugins.eu/MatrixCopyColumn.shtml) and [Matrix.CopyRow](https://www.mbsplugins.eu/MatrixCopyRow.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 13.6pr1](https://www.mbsplugins.de/archive/2023-12-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [News about the MBS FileMaker Plugin 10.2](https://www.mbsplugins.de/archive/2020-05-19/News_about_the_MBS_FileMaker_P/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 10.2](https://www.mbsplugins.de/archive/2020-05-12/Neues_MBS_FileMaker_Plugin_102/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 10.2 - More than 6200 Functions In One Plugin](https://www.mbsplugins.de/archive/2020-05-12/MBS_FileMaker_Plugin_102_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.2pr4](https://www.mbsplugins.de/archive/2020-04-20/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 16th April 2020 , last changed 16th April 2020

  
[Matrix.CopyContent](MatrixCopyContent.md) - [Matrix.DataType](MatrixDataType.md)

[HTML Version](MatrixCopyRow.shtml)