# Vision power table, inserting data from two text fields into a row on a table

**URL:** <https://forum.inductiveautomation.com/t/vision-power-table-inserting-data-from-two-text-fields-into-a-row-on-a-table/62087>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [July 19, 2022, 7:22pm UTC](https://forum.inductiveautomation.com/t/vision-power-table-inserting-data-from-two-text-fields-into-a-row-on-a-table/62087 "2022-07-19T19:22:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseph.hahn](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@joseph.hahn](https://forum.inductiveautomation.com/u/joseph.hahn)\
**Post date:** [July 19, 2022, 7:22pm UTC](https://forum.inductiveautomation.com/t/vision-power-table-inserting-data-from-two-text-fields-into-a-row-on-a-table/62087/1 "2022-07-19T19:22:12Z")

</div>

How would I get the data out of the two text fields and populate them on another table as a two column row every time they hit the Enter cast info into table button? The operator selects the cast number and enters the number of logs associated with that cast number then hits the button to put it on the table to the right row by row.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/e/8edcac63e08361a787f48fb27d25e14a83305722.png)

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [July 19, 2022, 9:51pm UTC](https://forum.inductiveautomation.com/t/vision-power-table-inserting-data-from-two-text-fields-into-a-row-on-a-table/62087/2 "2022-07-19T21:51:03Z")

</div>

If the data is to be permanently stored, write it to a DB, retrieve it from the DB and display it on the table.

If only temporary. append to the dataset of the table’s data.

If you go to the user manual for your version of Ignition, scripting functions, there are examples for both use cases.

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [July 19, 2022, 10:18pm UTC](https://forum.inductiveautomation.com/t/vision-power-table-inserting-data-from-two-text-fields-into-a-row-on-a-table/62087/3 "2022-07-19T22:18:37Z")

</div>

Edit: I see you have asked this question already in another thread. FYI that is against the forum policy.

---

<div class="post-metadata">

**Author:** ![joseph.hahn](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@joseph.hahn](https://forum.inductiveautomation.com/u/joseph.hahn)\
**Post date:** [July 19, 2022, 11:30pm UTC](https://forum.inductiveautomation.com/t/vision-power-table-inserting-data-from-two-text-fields-into-a-row-on-a-table/62087/4 "2022-07-19T23:30:46Z")

</div>

The other thread was older and actually slightly different. I was unaware of how this works. I created another thread because that other one was technically finished.

---

<div class="post-metadata">

**Author:** ![joseph.hahn](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@joseph.hahn](https://forum.inductiveautomation.com/u/joseph.hahn)\
**Post date:** [July 19, 2022, 11:35pm UTC](https://forum.inductiveautomation.com/t/vision-power-table-inserting-data-from-two-text-fields-into-a-row-on-a-table/62087/5 "2022-07-19T23:35:04Z")

</div>

Yup, the user manual doesn’t show what I am trying to do or else I wouldn’t be reaching out to a forum.

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [July 19, 2022, 11:39pm UTC](https://forum.inductiveautomation.com/t/vision-power-table-inserting-data-from-two-text-fields-into-a-row-on-a-table/62087/6 "2022-07-19T23:39:39Z")

</div>

[https://docs.inductiveautomation.com/display/DOC81/system.dataset.appendDataset](https://docs.inductiveautomation.com/display/DOC81/system.dataset.appendDataset)

[https://docs.inductiveautomation.com/display/DOC81/system.db.runPrepUpdate](https://docs.inductiveautomation.com/display/DOC81/system.db.runPrepUpdate)

As you have not listed your Ignition version, I have linked to the current LTS version. If your version differs, you can change that by scrolling to the bottom left of the online manual.
