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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Matrix.GetColumnNames

Queres column names.

Component Version macOS Windows Linux Server iOS SDK
Matrix 10.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Matrix.GetColumnNames"; MatrixRef )   More

Parameters

Parameter Description Example
MatrixRef The matrix reference number. $matrix

Result

Returns list or error.

Description

Queres column names.

Examples

Try the column names:

Set Variable [ $matrix ; Value: MBS("Matrix.New"; 5; 6) ]
# name columns
Set Variable [ $r ; Value: MBS("Matrix.SetColumnName"; $matrix; 0; "First Name") ]
Set Variable [ $r ; Value: MBS("Matrix.SetColumnName"; $matrix; 1; "Last Name") ]
Set Variable [ $r ; Value: MBS("Matrix.SetColumnName"; $matrix; 2; "City") ]
Set Variable [ $r ; Value: MBS("Matrix.SetColumnName"; $matrix; 3; "Amount") ]
# show names
Show Custom Dialog [ "Column Names" ; MBS("Matrix.GetColumnNames"; $matrix) ]
# free
Set Variable [ $r ; Value: MBS("Matrix.Release"; $matrix) ]

See also

Blog Entries

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


Matrix.GetColumnName - Matrix.GetRow

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat