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.GetValue
Queries a single value.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Matrix | 9.2 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| MatrixRef | The matrix reference number. | $matrix |
| Row | The zero based row number. | 2 |
| Column | The zero based column number. | 2 |
Result
Returns value or error.
Description
Queries a single value.Retains original data type.
Examples
Test setting and getting values:
Set Variable [ $matrix ; Value: MBS( "Matrix.New"; 3; 4 ) ]
Set Variable [ $r ; Value: MBS( "Matrix.SetValue"; $matrix; 0; 0; "Hello" ) ]
Set Variable [ $r ; Value: MBS( "Matrix.SetValue"; $matrix; 1; 0; 123,456 ) ]
Set Variable [ $r ; Value: MBS( "Matrix.SetValue"; $matrix; 2; 0; Get(CurrentTimestamp )) ]
Set Variable [ $t ; Value: MBS( "Matrix.GetValue"; $matrix; 0; 0) ]
Set Variable [ $v ; Value: MBS( "Matrix.GetValue"; $matrix; 1; 0) ]
Set Variable [ $z ; Value: MBS( "Matrix.GetValue"; $matrix; 2; 0) ]
Show Custom Dialog [ "Results" ; $t & ¶ & $v & ¶ & $z ]
Show Custom Dialog [ "Results" ; MBS("FM.DataType"; $t) & ¶ & MBS("FM.DataType"; $v) & ¶ & MBS("FM.DataType"; $z) ]
Set Variable [ $r ; Value: MBS( "Matrix.Release"; $matrix ) ]
See also
FileMaker Magazin
Created 8th April 2019, last changed 2nd November 2020
Matrix.GetText - Matrix.Height
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins