# Adding rows to a Powertable/ Table with Button Press

**URL:** <https://forum.inductiveautomation.com/t/adding-rows-to-a-powertable-table-with-button-press/99687>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [December 11, 2024, 2:05pm UTC](https://forum.inductiveautomation.com/t/adding-rows-to-a-powertable-table-with-button-press/99687 "2024-12-11T14:05:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raymond\_Wyant](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Raymond\_Wyant](https://forum.inductiveautomation.com/u/Raymond_Wyant)\
**Post date:** [December 11, 2024, 2:05pm UTC](https://forum.inductiveautomation.com/t/adding-rows-to-a-powertable-table-with-button-press/99687/1 "2024-12-11T14:05:14Z")

</div>

I am trying to create a dashboard to show the results of tests on a master gauge, and I want the operator to be able to enter the results into a popup that I have made. The popup saves the values into a set of memory tags. Then I want the operator to be able to press a button to add a row to a powertable or regular table, and have the data charted on a line graph.

My question is, how do I get the table to update from the memory tags? I know there is a way to do it, and I am just overlooking it.

I am using the memory tags because my company has access to databases looked down tighter than a drum, and I am trying to avoid having to go through the red tape to get a new database, or a table made within the database.

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [December 11, 2024, 8:23pm UTC](https://forum.inductiveautomation.com/t/adding-rows-to-a-powertable-table-with-button-press/99687/2 "2024-12-11T20:23:32Z")

</div>

Where is the table getting its original set of data from, a DB table? Or will the table data be filled entirely from operator entry? Does the data need to persist between sessions?

This sounds like a typical use case for a DB table to hold all past entries. The button would insert a new row into the DB table and then trigger the display table on the vision client to re-poll the DB table.

If you are set on not using a DB table ( I do _not_ recommend this approach):

If it only needs to persist for a single session, a client dataset memory tag can be directly bound to the table, add a row to the dataset to update the table.

If it needs to persist across multiple sessions, then use a Gateway Dataset memory tag. Add a row to the dataset to add a row to the display table. This opens you up to race conditions if multiple operators are entering data in the same time frame.

---

<div class="post-metadata">

**Author:** ![Raymond\_Wyant](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Raymond\_Wyant](https://forum.inductiveautomation.com/u/Raymond_Wyant)\
**Post date:** [December 12, 2024, 1:19pm UTC](https://forum.inductiveautomation.com/t/adding-rows-to-a-powertable-table-with-button-press/99687/3 "2024-12-12T13:19:25Z")

</div>

The Initial table would be created by me. Then subsequent tests, (they are only done once a month,) would be entered into a popup by the operator.

I am only exploring the no database option as it is nearly impossible to get our company to give authorization for DB access to more than a couple people. (Their mistake in my opinion, but nothing I can do.) I am still trying to get the access. So this is more of a last ditch effort if I can't.

It would need to be a single instance, but the data would need to be kept long term.

I think I will just keep working on pushing to get the DB access I need, and tell them we can't properly implement this without it.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 12, 2024, 1:33pm UTC](https://forum.inductiveautomation.com/t/adding-rows-to-a-powertable-table-with-button-press/99687/4 "2024-12-12T13:33:05Z")

</div>

> [@Raymond\_Wyant](#):
>
> but the data would need to be kept long term.

DB is the only viable solution. I would tell your bosses that you cannot proceed without a database table. You are otherwise wasting your time and risking loss of your long-term data.

---

<div class="post-metadata">

**Author:** ![Raymond\_Wyant](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Raymond\_Wyant](https://forum.inductiveautomation.com/u/Raymond_Wyant)\
**Post date:** [December 12, 2024, 1:49pm UTC](https://forum.inductiveautomation.com/t/adding-rows-to-a-powertable-table-with-button-press/99687/5 "2024-12-12T13:49:27Z")

</div>

Thank you. This is the response I was hoping to get. Now if theyask why I'll point them to someone more knowledgeable than I.
