# Compound action: view details shows wrong row/sheet

**URL:** <https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497>\
**Category:** Report a Bug\
**Created:** [April 13, 2021, 12:38pm UTC](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497 "2021-04-13T12:38:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![christoph](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christoph/32/22794_2.png) [@christoph](https://community.glideapps.com/u/christoph)\
**Post date:** [April 13, 2021, 12:38pm UTC](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497/1 "2021-04-13T12:38:04Z")

</div>

I’m using a compound action in an inline list based to view the detail of the row just clicked. Let’s call the detailed screen A.

Before the action “view details” I’m using an action “add row” to insert a row to another sheet (B) for log purposes.

The action “view details” then unfortunately doesn’t show up the detail of the row in the inline list, which the user clicked, and what one would expect.

Instead it opens the screen A but with the data of the row in the sheet B which the action “add row” has just inserted. As layout A doesn’t match data in sheet B the screen remains empty.

![Compound action bug](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/1/317ce419c9576309916ea129daf409d27926582f.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [April 13, 2021, 1:00pm UTC](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497/2 "2021-04-13T13:00:12Z")

</div>

What happens if you reverse the actions?

---

<div class="post-metadata">

**Author:** ![christoph](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christoph/32/22794_2.png) [@christoph](https://community.glideapps.com/u/christoph)\
**Post date:** [April 13, 2021, 1:41pm UTC](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497/3 "2021-04-13T13:41:09Z")

</div>

Ah yes, this might be a work around for my special case.  
But it’s certainly not a solution.  
The action “view details” seems to loose the connection to the inline list and returns a row from a wrong sheet.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 13, 2021, 11:37pm UTC](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497/4 "2021-04-13T23:37:27Z")

</div>

As pointed out by George here, this might be the root cause.

> [@bug Compound Action Bug](https://community.glideapps.com/t/compound-action-bug/25478/4):
>
> I think the issue is that when you Add to a different table you are “moving” off of the current table and the pointer is lost. So you should first do the Set Columns for the actual currently active table, then do the add row.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [April 11, 2022, 10:28pm UTC](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497/5 "2022-04-11T22:28:59Z")

</div>

Closing due to inactivity. This topic will be deleted in a few weeks if there are no more comments.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [April 11, 2022, 10:29pm UTC](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497/6 "2022-04-11T22:29:00Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [May 11, 2022, 10:29pm UTC](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497/7 "2022-05-11T22:29:26Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [May 11, 2022, 10:29pm UTC](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497/8 "2022-05-11T22:29:26Z")

</div>


