Audit.BaseTableNameForID
------------------------

Looks up the Audit cache for the base table name for a given table occurrence ID.

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

MBS( "Audit.BaseTableNameForID"; TableID ) 

**MBS**( **"Audit.BaseTableNameForID";** /\* Looks up the Audit cache for the base table name for a given table occurrence ID. \*/  
**$TableID**) /\* The table ID to lookup.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| TableID | The table ID to lookup. | 1 |

### Result

Returns text, empty or error.

### Description

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

Query base table name:

 MBS ( "Audit.BaseTableNameForID"; 1065089 )  
### See also

- [Audit.TableNameForID](AuditTableNameForID.md)

### Release notes

- **Version 13.1**
    - Added [Audit.BaseTableNameForID](https://www.mbsplugins.eu/AuditBaseTableNameForID.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 13.1](https://www.mbsplugins.de/archive/2023-03-15/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th January 2023 , last changed 18th January 2023

  
[Audit.Backup2](AuditBackup2.md) - [Audit.BuildCaches](AuditBuildCaches.md)

[HTML Version](AuditBaseTableNameForID.shtml)