# Retrieve Table Name

**URL:** <https://forum.servoy.com/t/retrieve-table-name/10155>\
**Category:** Classic Servoy\
**Created:** [January 17, 2009, 5:06pm UTC](https://forum.servoy.com/t/retrieve-table-name/10155 "2009-01-17T17:06:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommygill](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@tommygill](https://forum.servoy.com/u/tommygill)\
**Post date:** [January 17, 2009, 5:06pm UTC](https://forum.servoy.com/t/retrieve-table-name/10155/1 "2009-01-17T17:06:00Z")

</div>

Hi All

I have a method that has the following code

```auto
globals.form_nameƒtrigger = application.getMethodTriggerFormName()

```

Is it possible to retrieve the “tableName” from the global formName?

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [January 17, 2009, 9:00pm UTC](https://forum.servoy.com/t/retrieve-table-name/10155/2 "2009-01-17T21:00:24Z")

</div>

Hi Tom,

This should do the job:

```auto
forms[globals.form_nameƒtrigger].controller.getTableName()

```

---

<div class="post-metadata">

**Author:** ![tommygill](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@tommygill](https://forum.servoy.com/u/tommygill)\
**Post date:** [January 17, 2009, 10:03pm UTC](https://forum.servoy.com/t/retrieve-table-name/10155/3 "2009-01-17T22:03:20Z")

</div>

Thanks Marc

Works wonderfully
