# Using a Query Tag

**URL:** <https://forum.inductiveautomation.com/t/using-a-query-tag/75703>\
**Category:** Ignition\
**Created:** [June 29, 2023, 1:29pm UTC](https://forum.inductiveautomation.com/t/using-a-query-tag/75703 "2023-06-29T13:29:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eddie\_johnson](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@eddie\_johnson](https://forum.inductiveautomation.com/u/eddie_johnson)\
**Post date:** [June 29, 2023, 1:29pm UTC](https://forum.inductiveautomation.com/t/using-a-query-tag/75703/1 "2023-06-29T13:29:51Z")

</div>

I have created a Query Tag.  
The Query within the tag -  
SELECT Filler  
FROM L8Recipes  
where colrecipename = 'abc'  
This works well. Can I replace the string 'abc' with the value from another tag or somehow use a variable?  
I tried using readBlocking but I get the error "Error\_ExpressionEval"

---

<div class="post-metadata">

**Author:** ![eddie\_johnson](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@eddie\_johnson](https://forum.inductiveautomation.com/u/eddie_johnson)\
**Post date:** [June 29, 2023, 1:42pm UTC](https://forum.inductiveautomation.com/t/using-a-query-tag/75703/2 "2023-06-29T13:42:11Z")

</div>

ChatGPT helped this time. Formatting.  
This seems to work  
SELECT Filler  
FROM L8Recipes  
where colrecipename = '{[.]L8\_RecipeName.value}'
