# Update table on two clients

**URL:** <https://forum.inductiveautomation.com/t/update-table-on-two-clients/10844>\
**Category:** Ignition\
**Created:** [December 1, 2015, 7:08am UTC](https://forum.inductiveautomation.com/t/update-table-on-two-clients/10844 "2015-12-01T07:08:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kleppe85](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@Kleppe85](https://forum.inductiveautomation.com/u/Kleppe85)\
**Post date:** [December 1, 2015, 7:08am UTC](https://forum.inductiveautomation.com/t/update-table-on-two-clients/10844/1 "2015-12-01T07:08:50Z")

</div>

Hi,  
Hopefully someone have a solution for this.  
In my application I have a power table(polling mode off) where the user can setup a production queue.  
To do this there is a simple SQL query on a button which adds a recipe to a database table, and then updates the power table with a system.db.refresh. This works great on the client beeing operated, but the second client doesnt change before you refresh the mimic (open/close).  
Is there any way to do a “global” refresh for a component?

---

<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 1, 2015, 1:51pm UTC](https://forum.inductiveautomation.com/t/update-table-on-two-clients/10844/2 "2015-12-01T13:51:19Z")

</div>

You’ll have to do some scripting with [system.util.sendMessage](https://docs.inductiveautomation.com/display/DOC/system.util.sendMessage), and moving system.db.refresh() to the corresponding client event script.

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [December 2, 2015, 1:32am UTC](https://forum.inductiveautomation.com/t/update-table-on-two-clients/10844/3 "2015-12-02T01:32:11Z")

</div>

Just create a boolean tag. Bind that to a custom property on the table.  
if event.propertyName == “mycustomtag”:  
#refresh your table
