# Is there a way to skip over a detail to a child detail screen?

**URL:** <https://community.glideapps.com/t/is-there-a-way-to-skip-over-a-detail-to-a-child-detail-screen/58392>\
**Category:** Ask for Help\
**Created:** [February 23, 2023, 5:58pm UTC](https://community.glideapps.com/t/is-there-a-way-to-skip-over-a-detail-to-a-child-detail-screen/58392 "2023-02-23T17:58:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tanner\_Anderson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tanner_anderson/32/54113_2.png) [@Tanner\_Anderson](https://community.glideapps.com/u/Tanner_Anderson)\
**Post date:** [February 23, 2023, 5:58pm UTC](https://community.glideapps.com/t/is-there-a-way-to-skip-over-a-detail-to-a-child-detail-screen/58392/1 "2023-02-23T17:58:29Z")

</div>

I have a collection which when an item is clicked it goes to the detail screen which has subcategories, then you can click a subcategory to go to individual assets. A couple of the categories only have one subcategory, so I want to skip the subcategory detail view and go directly to assets with that one subcategory. Possible?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 23, 2023, 6:15pm UTC](https://community.glideapps.com/t/is-there-a-way-to-skip-over-a-detail-to-a-child-detail-screen/58392/2 "2023-02-23T18:15:56Z")

</div>

In your category table, I assume you have an existing multiple relation to your subcategories. Using that relation, create a rollup column that counts the number of items in that relation.

Next create a single relation that’s similar to your multiple relation, with the exception that the multiple checkbox is unchecked.

Now, you can change your action on your list to a custom action. In that custom action, add an IF condition that checks the Rollup column value. If the Rollup count is 1, then do a ‘Show Detail Screen’ action that uses the single relation as the source. Else, do a ‘Show Detail Screen’ action that uses ‘This Item’ as the source.
