# System.db.refresh() doesn't seem to be a solution for a vision table component

**URL:** <https://forum.inductiveautomation.com/t/system-db-refresh-doesnt-seem-to-be-a-solution-for-a-vision-table-component/73606>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [May 11, 2023, 5:47pm UTC](https://forum.inductiveautomation.com/t/system-db-refresh-doesnt-seem-to-be-a-solution-for-a-vision-table-component/73606 "2023-05-11T17:47:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hwbrill](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hwbrill/32/14377_2.png) [@hwbrill](https://forum.inductiveautomation.com/u/hwbrill)\
**Post date:** [May 11, 2023, 5:47pm UTC](https://forum.inductiveautomation.com/t/system-db-refresh-doesnt-seem-to-be-a-solution-for-a-vision-table-component/73606/1 "2023-05-11T17:47:46Z")

</div>

> I just can't figure out how to refresh a vision table component binded to a Name Query without setting the Polling Mode other than 'Off'.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [May 11, 2023, 5:49pm UTC](https://forum.inductiveautomation.com/t/system-db-refresh-doesnt-seem-to-be-a-solution-for-a-vision-table-component/73606/2 "2023-05-11T17:49:45Z")

</div>

Does the named query have caching? You will need to clear the cache before telling the table to refresh, otherwise good chance you just get the same exact data when you tell it to refresh.  
[https://docs.inductiveautomation.com/display/DOC80/system.db.clearNamedQueryCache](https://docs.inductiveautomation.com/display/DOC80/system.db.clearNamedQueryCache)

```auto
system.db.clearNamedQueryCache("myNamedQuery")
system.db.refresh(myTable, 'data')

```

I also don't think there is a `system.gui.refresh`. To refresh query bindings you need `system.db.refresh()`  
[https://docs.inductiveautomation.com/display/DOC81/system.db.refresh](https://docs.inductiveautomation.com/display/DOC81/system.db.refresh)

---

<div class="post-metadata">

**Author:** ![hwbrill](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hwbrill/32/14377_2.png) [@hwbrill](https://forum.inductiveautomation.com/u/hwbrill)\
**Post date:** [May 11, 2023, 7:53pm UTC](https://forum.inductiveautomation.com/t/system-db-refresh-doesnt-seem-to-be-a-solution-for-a-vision-table-component/73606/3 "2023-05-11T19:53:23Z")

</div>

👍
