Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Looks up the Audit cache for a field name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Audit | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
TableName | The table name or ID. Can be ID of table, so we lookup name by ID. Can be result of GetFieldName() function as we remove field name automatically. |
"MyTable" |
FieldName | The field name to lookup. | "123" |
Returns text or error.
Queries field named for third field in a table by ID:
MBS( "Audit.FieldNameForID"; "1065089"; 3 )
Example result: "First"
Queries field name for 4th field:
MBS( "Audit.FieldNameForID"; "Contacts"; 4 )
Example result: "Last"
This function is free to use.
Created 20th April 2018, last changed 17th January 2020