Matrix.GetRowNames
------------------

Queries row names.

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

MBS( "Matrix.GetRowNames"; MatrixRef ) 

**MBS**( **"Matrix.GetRowNames";** /\* Queries row names. \*/  
**$MatrixRef**) /\* The matrix reference number.e.g. $matrix \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| MatrixRef | The matrix reference number. | $matrix |

### Result

Returns list or error.

### Description

Queries row names.  
### Examples

Try the Row names:

 Set Variable \[ $matrix ; Value: MBS ("[Matrix.New](MatrixNew.md)"; 5; 6) \]   
\# name Rows   
Set Variable \[ $r ; Value: MBS ("[Matrix.SetRowName](MatrixSetRowName.md)"; $matrix ; 0; "First Name") \]   
Set Variable \[ $r ; Value: MBS ("[Matrix.SetRowName](MatrixSetRowName.md)"; $matrix ; 1; "Last Name") \]   
Set Variable \[ $r ; Value: MBS ("[Matrix.SetRowName](MatrixSetRowName.md)"; $matrix ; 2; "City") \]   
Set Variable \[ $r ; Value: MBS ("[Matrix.SetRowName](MatrixSetRowName.md)"; $matrix ; 3; "Amount") \]   
\# show names   
Show Custom Dialog \[ "Row Names" ; MBS ("Matrix.GetRowNames"; $matrix ) \]   
\# free   
Set Variable \[ $r ; Value: MBS ("[Matrix.Release](MatrixRelease.md)"; $matrix ) \]  
### See also

- [Matrix.GetColumnNames](MatrixGetColumnNames.md)
- [Matrix.GetRow](MatrixGetRow.md)
- [Matrix.GetRowName](MatrixGetRowName.md)
- [Matrix.New](MatrixNew.md)
- [Matrix.Release](MatrixRelease.md)
- [Matrix.SetRow](MatrixSetRow.md)
- [Matrix.SetRowName](MatrixSetRowName.md)
- [Matrix.SetRowNames](MatrixSetRowNames.md)

### Blog Entries

- [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)

This function checks for a license.

Created 2nd April 2020 , last changed 4th August 2021

  
[Matrix.GetRowName](MatrixGetRowName.md) - [Matrix.GetText](MatrixGetText.md)

[HTML Version](MatrixGetRowNames.shtml)