# Refresh runScript() from another component

**URL:** <https://forum.inductiveautomation.com/t/refresh-runscript-from-another-component/20639>\
**Category:** Ignition\
**Created:** [November 7, 2018, 8:41pm UTC](https://forum.inductiveautomation.com/t/refresh-runscript-from-another-component/20639 "2018-11-07T20:41:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pat.stave1](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@pat.stave1](https://forum.inductiveautomation.com/u/pat.stave1)\
**Post date:** [November 7, 2018, 8:41pm UTC](https://forum.inductiveautomation.com/t/refresh-runscript-from-another-component/20639/1 "2018-11-07T20:41:44Z")

</div>

Table component “A” has a event script that runs only on initialization to fetch a dataset  
Button “B” performs som underlying operation altering data. After “B” has been pressed, the runScript() on “A” needs to be re-run.

Is there a method that can accomplish this?

---

<div class="post-metadata">

**Author:** ![pat.stave1](https://avatars.discourse-cdn.com/v4/letter/p/f19dbf/32.png) [@pat.stave1](https://forum.inductiveautomation.com/u/pat.stave1)\
**Post date:** [November 7, 2018, 9:17pm UTC](https://forum.inductiveautomation.com/t/refresh-runscript-from-another-component/20639/2 "2018-11-07T21:17:28Z")

</div>

Found it. system.db.refresh()  
Didn’t care to look in the system.db library since i work with PyDataSets.
