# Reference dataset of table on another window

**URL:** <https://forum.inductiveautomation.com/t/reference-dataset-of-table-on-another-window/10137>\
**Category:** Ignition\
**Created:** [June 16, 2015, 5:03pm UTC](https://forum.inductiveautomation.com/t/reference-dataset-of-table-on-another-window/10137 "2015-06-16T17:03:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gratliff](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gratliff](https://forum.inductiveautomation.com/u/Gratliff)\
**Post date:** [June 16, 2015, 5:03pm UTC](https://forum.inductiveautomation.com/t/reference-dataset-of-table-on-another-window/10137/1 "2015-06-16T17:03:57Z")

</div>

Is there a way to reference/refresh the dataset property of a table on another opened window via a script?

---

<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:** [June 16, 2015, 7:29pm UTC](https://forum.inductiveautomation.com/t/reference-dataset-of-table-on-another-window/10137/2 "2015-06-16T19:29:44Z")

</div>

The system.db.refresh() can do this. Your script would look something like:`w = system.gui.getWindow("otherwindowname")
c = w.rootContainer.getComponent("tablecomponentname")
system.db.refresh(c, "data")`
