FM.ValueListNameForValueListID
------------------------------

Queries value list name for a value list ID.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FM](component_FM.md) | [12.0](newinversion120.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "FM.ValueListNameForValueListID"; ValueListID; FileName ) 

**MBS**( **"FM.ValueListNameForValueListID";** /\* Queries value list name for a value list ID. \*/  
**$ValueListID**; /\* The ID of the value list.e.g. 123 \*/   
**$FileName**) /\* The name of the file to look inside.  
If empty, we default to current file. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ValueListID | The ID of the value list. | 123 |
| FileName | The name of the file to look inside.   If empty, we default to current file. |  |

### Result

Returns name or error.

### Description

Queries value list name for a value list ID.  
### Examples

Query name for ID:

 MBS ( "FM.ValueListNameForValueListID"; 2 )  
### See also

- [FM.ValueListIDForValueListName](FMValueListIDForValueListName.md)

### Release notes

- **Version 12.0**
    - Added [FM.ValueListIDForValueListName](https://www.mbsplugins.eu/FMValueListIDForValueListName.shtml), [FM.ValueListNameForValueListID](https://www.mbsplugins.eu/FMValueListNameForValueListID.shtml) and [FM.ValueListNames](https://www.mbsplugins.eu/FMValueListNames.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 12.0](https://www.mbsplugins.de/archive/2022-01-31/New_in_MBS_FileMaker_Plugin_12/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.6pr2](https://www.mbsplugins.de/archive/2021-12-07/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [Display Value List IDs](https://www.mbsplugins.de/archive/2021-12-05/Display_Value_List_IDs/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 5th December 2021 , last changed 30th December 2021

  
[FM.ValueListIDForValueListName](FMValueListIDForValueListName.md) - [FM.ValueListNames](FMValueListNames.md)

[HTML Version](FMValueListNameForValueListID.shtml)