Audit.TableIDForName
--------------------

Looks up the Audit cache for a table name.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Audit](component_Audit.md) | [8.2](newinversion82.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Audit.TableIDForName"; TableName ) 

**MBS**( **"Audit.TableIDForName";** /\* Looks up the Audit cache for a table name. \*/  
**$TableName**) /\* The table name to lookup.e.g. "Contacts" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| TableName | The table name to lookup. | "Contacts" |

### Result

Returns text or error.

### Description

Looks up the Audit cache for a table name.  
Returns empty result if not found.  
### Examples

Queries ID for name:

 MBS ( "Audit.TableIDForName"; "Contacts" )  
<small>  
Example result: 1065089</small>### See also

- [Audit.FieldIDForName](AuditFieldIDForName.md)

### Release notes

- **Version 8.2**
    - Added [Audit.TableIDForName](http://www.mbsplugins.eu/AuditTableIDForName.shtml) and [Audit.FieldIDForName](http://www.mbsplugins.eu/AuditFieldIDForName.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 8.2pr4](https://www.mbsplugins.de/archive/2018-04-24/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 20th April 2018 , last changed 20th April 2018

  
[Audit.Statistics](AuditStatistics.md) - [Audit.TableNameForID](AuditTableNameForID.md)

[HTML Version](AuditTableIDForName.shtml)