# Access Dataset from Named Query

**URL:** <https://forum.inductiveautomation.com/t/access-dataset-from-named-query/62166>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [July 21, 2022, 2:37pm UTC](https://forum.inductiveautomation.com/t/access-dataset-from-named-query/62166 "2022-07-21T14:37:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwilliams](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jwilliams](https://forum.inductiveautomation.com/u/jwilliams)\
**Post date:** [July 21, 2022, 2:37pm UTC](https://forum.inductiveautomation.com/t/access-dataset-from-named-query/62166/1 "2022-07-21T14:37:57Z")

</div>

I have a table that gets populated based on a Named Query. I am trying to find out how to access that dataset through scripting. I know it is possible to access them from this documentation ([Datasets - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/Datasets)), however that only explains if I created the dataset through scripting itself, not about how to access a dataset that is created elsewhere as I have not given a specific name to the dataset like the one in that documentation of “cities”.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/6/c6e4b1fd03a4ae2221034a9b4eb59afd63128744.png)

---

<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:** [July 21, 2022, 2:46pm UTC](https://forum.inductiveautomation.com/t/access-dataset-from-named-query/62166/2 "2022-07-21T14:46:41Z")

</div>

When scripting you can use the property explorer to find your table and the data property and it will automatically generate the path for you. Note the highlighted parts

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/1/11e91440314ff17fd97baf352118ea4c554b43d5.png)
