Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

Matrix.SetRowName

Sets row name.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Matrix 10.2 Yes Yes Yes Yes Yes
MBS( "Matrix.SetRowName"; MatrixRef; Row; Name )   More

Parameters

Parameter Description Example value
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.Free"; $matrix) ]

See also

Blog Entries

Created 2nd April 2020, last changed 2nd April 2020


Matrix.SetRow   -   Matrix.SetValue

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins