# 🐛 Compound Action Bug

**URL:** https://community.glideapps.com/t/compound-action-bug/25478
**Category:** Report a Bug
**Created:** [April 12, 2021, 5:44pm UTC](https://community.glideapps.com/t/compound-action-bug/25478 "2021-04-12T17:44:09Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)
#### Post date: [April 12, 2021, 5:44pm UTC](https://community.glideapps.com/t/compound-action-bug/25478/1 "2021-04-12T17:44:09Z")

</div>

@Jason @Mark

I ended up doing it in another way, but I think this could be a possible bug

> **[Buffalo Burger · Glide](https://www.loom.com/share/b2ad4f5a27a04f549a2d33610a34e46c)**
>
> Check out a video I made via Loom

---

<div class="post-metadata">

### Author: ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)
#### Post date: [April 12, 2021, 5:56pm UTC](https://community.glideapps.com/t/compound-action-bug/25478/2 "2021-04-12T17:56:08Z")

</div>

What happens if you do the Set Columns action before the Add action?

---

<div class="post-metadata">

### Author: ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)
#### Post date: [April 12, 2021, 5:58pm UTC](https://community.glideapps.com/t/compound-action-bug/25478/3 "2021-04-12T17:58:46Z")

</div>

@George_B it worked 🤔 any hierarchy for this to happen? Because for me there is no difference since it would be only these 2 actions

---

<div class="post-metadata">

### Author: ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)
#### Post date: [April 12, 2021, 6:11pm UTC](https://community.glideapps.com/t/compound-action-bug/25478/4 "2021-04-12T18:11:51Z")

</div>

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: ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)
#### Post date: [April 12, 2021, 6:15pm UTC](https://community.glideapps.com/t/compound-action-bug/25478/5 "2021-04-12T18:15:14Z")

</div>

Noted ✍ ✅

---

<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, 2:17am UTC](https://community.glideapps.com/t/compound-action-bug/25478/6 "2021-04-13T02:17:19Z")

</div>

> [@George\_B](#):
>
> 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.

wow, that’s so obvious - but incredibly useful/important to be aware of.

---

<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 14, 2021, 5:34am UTC](https://community.glideapps.com/t/compound-action-bug/25478/7 "2021-04-14T05:34:16Z")

</div>

I’ve found a similar problem, maybe they are connected.

> [@Compound action: view details shows wrong row/sheet](https://community.glideapps.com/t/compound-action-view-details-shows-wrong-row-sheet/25497):
>
> 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…

Your explanation might be a reason.

But in my case the app tries to show a row which doesn’t match with the layout of the detailed screen. Until now, I was told that the layout of a screen is always bound to one table, which seems to be compromised here.

---

<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-bug/25478/8 "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:28pm UTC](https://community.glideapps.com/t/compound-action-bug/25478/9 "2022-04-11T22:28:59Z")

</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-bug/25478/10 "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-bug/25478/11 "2022-05-11T22:29:26Z")

</div>


