# How to write a variable string value into a table

**URL:** <https://forum.inductiveautomation.com/t/how-to-write-a-variable-string-value-into-a-table/12382>\
**Category:** General Discussion\
**Created:** [November 18, 2016, 9:30pm UTC](https://forum.inductiveautomation.com/t/how-to-write-a-variable-string-value-into-a-table/12382 "2016-11-18T21:30:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ijustdunnoaname](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@ijustdunnoaname](https://forum.inductiveautomation.com/u/ijustdunnoaname)\
**Post date:** [November 18, 2016, 9:30pm UTC](https://forum.inductiveautomation.com/t/how-to-write-a-variable-string-value-into-a-table/12382/1 "2016-11-18T21:30:12Z")

</div>

I’m trying to configure a table to indicate the status of a motor’s interlock logic. It’s a simple, two column table showing all of the interlocks for that motor. Column A would be the name of the interlock, and column B would be the true/false representation of that interlock condition.

I’ve created a UDT with all of the information that I’ll need. However, I’m unsure as to how to pass that information into the table.

---

<div class="post-metadata">

**Author:** ![nick.schuetz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nick.schuetz/32/6160_2.png) [@nick.schuetz](https://forum.inductiveautomation.com/u/nick.schuetz)\
**Post date:** [November 18, 2016, 9:44pm UTC](https://forum.inductiveautomation.com/t/how-to-write-a-variable-string-value-into-a-table/12382/2 "2016-11-18T21:44:10Z")

</div>

If you want to be able to show the status of all 5 of the interlocks, you can use a cell update binding on the ‘STATUS’ column of the table with the value looking at the status tag, and the the ‘INTERLOCK’ column looking at the name tag.
