Window.ShowTableViewDialog
--------------------------

Shows the dialog to modify the fields for table view.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Window](component_Window.md) | [6.5](newinversion65.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "Window.ShowTableViewDialog"; WindowRef { ; Force } ) 

**MBS**( **"Window.ShowTableViewDialog";** /\* Shows the dialog to modify the fields for table view. \*/  
**$WindowRef**; /\* Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window.e.g. 0 \*/   
**$Force**) /\* Optional; Pass 1 to avoid checks whether button can be clicked.  
Normally plugin wants to avoid that you click there when not appropriate. But to toggle the button for a card window, you may want to force it as FileMaker does not support that.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window. | 0 |  |
| Force | Pass 1 to avoid checks whether button can be clicked.   Normally plugin wants to avoid that you click there when not appropriate. But to toggle the button for a card window, you may want to force it as FileMaker does not support that. | 0 | Optional |

### Result

Returns OK or error.

### Description

Shows the dialog to modify the fields for table view.  
Please run as last command in script, so the function can do the job properly.  
On Windows you can try similar by simulating a mouse click on the right coordinate.  
### Examples

Show table view dialog command:

 Set Variable \[$r ; Value:MBS ("Window.ShowTableViewDialog"; 0)\]  
### See also

- [Window.FindByIndex](WindowFindByIndex.md)
- [Window.FindByTitle](WindowFindByTitle.md)
- [Window.Show](WindowShow.md)

### Example Databases

- [Window/Card Window Test](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Window/Card%20Window%20Test.shtml#2ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 6.5pr9](https://www.mbsplugins.de/archive/2016-12-05/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 27th November 2016 , last changed 1st June 2017

  
[Window.ShowScrollbars](WindowShowScrollbars.md) - [Window.ShowsToolbarButton](WindowShowsToolbarButton.md)

[HTML Version](WindowShowTableViewDialog.shtml)