# Reference UDT Member within same UDT

**URL:** <https://forum.inductiveautomation.com/t/reference-udt-member-within-same-udt/7909>\
**Category:** Ignition\
**Created:** [January 27, 2014, 11:54pm UTC](https://forum.inductiveautomation.com/t/reference-udt-member-within-same-udt/7909 "2014-01-27T23:54:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathanpegram](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@nathanpegram](https://forum.inductiveautomation.com/u/nathanpegram)\
**Post date:** [January 27, 2014, 11:54pm UTC](https://forum.inductiveautomation.com/t/reference-udt-member-within-same-udt/7909/1 "2014-01-27T23:54:45Z")

</div>

I have created a UDT that contains some query tags and some OPC tags. My intention was to define the OPC paths using the values of the query tags, but I can’t figure out how to reference the results of the query tags. I have found that I can reference the values of the query tags in an expression tag using syntax like {[.]opcString} , but I can’t figure out how to do the same for the OPC path. Help?

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [June 25, 2014, 4:52pm UTC](https://forum.inductiveautomation.com/t/reference-udt-member-within-same-udt/7909/2 "2014-06-25T16:52:58Z")

</div>

This response is most likely too late to be helpful. However in the interest of posterity, there is no way to add a tag reference to the OPC item path of a SQL Tag. In most cases, it would probably be easier to create multiple instances of your UDT, and then use an Expression or Indirect binding to get the value you need
