# Insert one BAQ into another as a sub-query?

**URL:** <https://www.epiusers.help/t/insert-one-baq-into-another-as-a-sub-query/51311>\
**Category:** Epicor ERP 10\
**Tags:** baq\
**Created:** [January 11, 2019, 6:43pm UTC](https://www.epiusers.help/t/insert-one-baq-into-another-as-a-sub-query/51311 "2019-01-11T18:43:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike](https://www.epiusers.help/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@Mike](https://www.epiusers.help/u/Mike)\
**Post date:** [January 11, 2019, 6:43pm UTC](https://www.epiusers.help/t/insert-one-baq-into-another-as-a-sub-query/51311/1 "2019-01-11T18:43:44Z")

</div>

Is it possible to copy a BAQ into another BAQ as a sub-query? I know I can copy an entire BAQ as a new one but I’m more trying to pull two BAQs together. I need to add a sub-query in a BAQ I’m making and I have what I need in another one but there is enough going on that I would prefer not to remake it from going back and forth.

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [January 11, 2019, 6:45pm UTC](https://www.epiusers.help/t/insert-one-baq-into-another-as-a-sub-query/51311/2 "2019-01-11T18:45:34Z")

</div>

unfortunately no, that’s on the list of feature requests though, go vote for it.

> **[Allow bringing in BAQs into other BAQs as SubQueries](https://www.epiusers.help/t/allow-bringing-in-baqs-into-other-baqs-as-subqueries/46935)**
>
> Maybe a bad idea and off topic but I would also like to be able to use other BAQs in another BAQ. For example, a BAQ that always returns the most current revision of a Part. I use that over and over in other BAQs but I have to rewrite that...
