# Enumerate Collection or Action Per Collection

**URL:** <https://community.fibery.io/t/enumerate-collection-or-action-per-collection/3503>\
**Category:** Get Help\
**Created:** [November 8, 2022, 10:23pm UTC](https://community.fibery.io/t/enumerate-collection-or-action-per-collection/3503 "2022-11-08T22:23:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kameron\_Baumgardner](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/kameron_baumgardner/32/5756_2.png) [@Kameron\_Baumgardner](https://community.fibery.io/u/Kameron_Baumgardner)\
**Post date:** [November 8, 2022, 10:23pm UTC](https://community.fibery.io/t/enumerate-collection-or-action-per-collection/3503/1 "2022-11-08T22:23:35Z")

</div>

Hello! Is it possible to set an action button to perform n actions per the number of items in a collection? Ex. I have an action button for a database that wants to create unique records in another database based on items in a collection. So if my record has a collection with 5 references in it, I would want the action button to make 5 new records somewhere.

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [November 9, 2022, 12:25am UTC](https://community.fibery.io/t/enumerate-collection-or-action-per-collection/3503/2 "2022-11-09T00:25:15Z")

</div>

A Button will always operate on all _selected_ entities. If you are looking at a single entity view, a Button will only operate on that entity.

But in a Table view you can select any number of entities (rows) using the checkboxes that appear when hovering over a row number on the left (or _Select All_ using the top box in the header).

Then you can execute any Button defined in the DB, on all the currently selected entities, by using the **Action drop-down** at the top:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/8/854b56c96e7a1abcaae40d77e658a89e810a935d.png)

---

<div class="post-metadata">

**Author:** ![Kameron\_Baumgardner](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/kameron_baumgardner/32/5756_2.png) [@Kameron\_Baumgardner](https://community.fibery.io/u/Kameron_Baumgardner)\
**Post date:** [November 9, 2022, 6:49am UTC](https://community.fibery.io/t/enumerate-collection-or-action-per-collection/3503/3 "2022-11-09T06:49:46Z")

</div>

Thanks Matt!

So in my case I think my move would be to go to the ‘things to enumerate’ table and filter what I want to make copies or different entries of in a different database, then use an action button there.

Appreciated!
