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
Matrix.SetRowName
Sets row name.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Matrix | 10.2 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| MatrixRef | The matrix reference number. | $matrix |
| Row | The row you like to get. | 1 |
| Name | The new name. | $uuid |
Result
Returns OK or error.
Description
Sets row name.This is a value associated with the row. e.g. associate an UUID with the row.
Whenever you need to provide row index, you can also pass row name.
Examples
Try the Row names:
Set Variable [ $matrix ; Value: MBS("Matrix.New"; 5; 6) ]
# name Rows
Set Variable [ $r ; Value: MBS("Matrix.SetRowName"; $matrix; 0; "First Name") ]
Set Variable [ $r ; Value: MBS("Matrix.SetRowName"; $matrix; 1; "Last Name") ]
Set Variable [ $r ; Value: MBS("Matrix.SetRowName"; $matrix; 2; "City") ]
Set Variable [ $r ; Value: MBS("Matrix.SetRowName"; $matrix; 3; "Amount") ]
# show names
Show Custom Dialog [ "Row Names" ; MBS("Matrix.GetRowNames"; $matrix) ]
# free
Set Variable [ $r ; Value: MBS("Matrix.Release"; $matrix) ]
See also
- Matrix.GetRow
- Matrix.GetRowName
- Matrix.GetRowNames
- Matrix.New
- Matrix.Release
- Matrix.SetColumnName
- Matrix.SetRow
Blog Entries
Created 2nd April 2020, last changed 2nd November 2020
Matrix.SetRow - Matrix.SetValue
Feedback: Report problem or ask question.
Links
MBS Xojo blog