# Create a Query

**URL:** <https://forum.mautic.org/t/create-a-query/4104>\
**Category:** General Discussion\
**Created:** [July 4, 2016, 1:48am UTC](https://forum.mautic.org/t/create-a-query/4104 "2016-07-04T01:48:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lerg57](https://avatars.discourse-cdn.com/v4/letter/l/aca169/32.png) [@lerg57](https://forum.mautic.org/u/lerg57)\
**Post date:** [July 4, 2016, 1:48am UTC](https://forum.mautic.org/t/create-a-query/4104/1 "2016-07-04T01:48:31Z")

</div>

I created a new TextArea field which may contain several codes. The idea is that later I can filter records based in these codes.  
  
I tried to filter and also created a segment and no record appears in either case.  
  
I will appreciate if somebody can tell me how I can accomplish this.  
  
Thanks  
  
  
  
Luis R

---

<div class="post-metadata">

**Author:** ![lerg57](https://avatars.discourse-cdn.com/v4/letter/l/aca169/32.png) [@lerg57](https://forum.mautic.org/u/lerg57)\
**Post date:** [July 4, 2016, 1:48am UTC](https://forum.mautic.org/t/create-a-query/4104/2 "2016-07-04T01:48:31Z")

</div>

I created a new TextArea field which may contain several codes. The idea is that later I can filter records based in these codes.  
I tried to filter and also created a segment and no record appears in either case.  
I will appreciate if somebody can tell me how I can accomplish this.  
Thanks

Luis R
