# Opening the row I just added with actions

**URL:** <https://community.glideapps.com/t/opening-the-row-i-just-added-with-actions/61872>\
**Category:** Ask for Help\
**Created:** [May 18, 2023, 9:51am UTC](https://community.glideapps.com/t/opening-the-row-i-just-added-with-actions/61872 "2023-05-18T09:51:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bradley\_Gibson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bradley_gibson/32/58297_2.png) [@Bradley\_Gibson](https://community.glideapps.com/u/Bradley_Gibson)\
**Post date:** [May 18, 2023, 9:51am UTC](https://community.glideapps.com/t/opening-the-row-i-just-added-with-actions/61872/1 "2023-05-18T09:51:58Z")

</div>

Hi So I have a button that creates a row.

 ![SCR-20230518-kqbn](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/9/395e5da99b24550c60b42747bf5f04c9a90d547f.png)

Within that same action there is a show details action

![SCR-20230518-kqhp](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/1/7112c7f46a8d52f385e4389d58070e4d034d1531.png)

Now with this current setup it is opening the row at the top with each book now click.

How can I get it to open the details page of the row it just created.

This is my current setup within the show details page.

 ![SCR-20230518-kqqm](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/a/ea4533eeac7ab850abaf931fe48a9a21cfe33a12.png)

---

<div class="post-metadata">

**Author:** ![epdarias](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/epdarias/32/45740_2.png) [@epdarias](https://community.glideapps.com/u/epdarias)\
**Post date:** [May 18, 2023, 12:10pm UTC](https://community.glideapps.com/t/opening-the-row-i-just-added-with-actions/61872/2 "2023-05-18T12:10:04Z")

</div>

Hi @Bradley_Gibson. You can try to create a relationship between the trip request and the current user and then in “Show details screen” you can select this relationship.

 ![Screenshot at May 18 13-08-36](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/2/8217c0993800de10a6cc2b86de3e4541e50d0d74.png)

---

<div class="post-metadata">

**Author:** ![Bradley\_Gibson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bradley_gibson/32/58297_2.png) [@Bradley\_Gibson](https://community.glideapps.com/u/Bradley_Gibson)\
**Post date:** [May 18, 2023, 12:23pm UTC](https://community.glideapps.com/t/opening-the-row-i-just-added-with-actions/61872/3 "2023-05-18T12:23:41Z")

</div>

Sorry Im not quite following. Could you maybe explain to me in a bit more detail.

If I did this how would the relation look like in the user tab?

---

<div class="post-metadata">

**Author:** ![Joe\_Gabriele](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joe_gabriele/32/57595_2.png) [@Joe\_Gabriele](https://community.glideapps.com/u/Joe_Gabriele)\
**Post date:** [May 18, 2023, 1:26pm UTC](https://community.glideapps.com/t/opening-the-row-i-just-added-with-actions/61872/4 "2023-05-18T13:26:16Z")

</div>

Is the screen that youre in (guessing youre completing a custom form) the same table as where youre adding the row?

---

<div class="post-metadata">

**Author:** ![epdarias](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/epdarias/32/45740_2.png) [@epdarias](https://community.glideapps.com/u/epdarias)\
**Post date:** [May 18, 2023, 2:00pm UTC](https://community.glideapps.com/t/opening-the-row-i-just-added-with-actions/61872/5 "2023-05-18T14:00:09Z")

</div>

Of course!  
For example, I have 2 tables Users and TripRequests with one-to-many relationship.  
 ![Screenshot at May 18 14-33-45](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/1/118b9cbc01b483ee0896f359291bf6134df59e3b.png)

In Users table I created a column to relation Users with TripRequests with “Match multiple” checked.

 ![Screenshot at May 18 14-42-26](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/c/5cb19cc71969edc5a62f5d8f9feedf56bf3994b0.png)

Then I created a column with a rollup in order to get the last inserted TripRequest.

 ![Screenshot at May 18 14-44-28](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/0/00adfc0c25192093e19ab848e1558d357f0120cd.png)

With this column plus email of current user, I created a column with a template with those columns (email-lastTripRequests).

 ![Screenshot at May 18 14-45-39](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/b/1bea324cf48192984bb88c072b2811bc6b6a5834.png)

In TripRequests I created a column equal to template column of Users (email-lastTripRequests)

 ![Screenshot at May 18 14-47-11](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/1/11e107d8aaa925578c912159b00d688c45012b08.png)

In Users table I created a relationship with those template columns (without check “Match multiple”).

 ![Screenshot at May 18 14-49-25](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/0/10c3c2e545a449d084a87f8de8dc9e09fbdf17dc.png)

Ok, with those configuration already I can get the last TripRequest inserted by user and edit it when I creat it.  
Also I have added a button with custom action. This action, add a row in TripRequests and then, “Show edit screen” of this row added.

 ![Screenshot at May 18 14-50-45](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/6/365ab776f8180be3c3e90e21f9fd43ca5cd07400.png)  
 ![Screenshot at May 18 14-50-58](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/2/a20ee4095b698c0c1df90bc005b004eec5751ba1.png)

---

<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 23, 2023, 7:06am UTC](https://community.glideapps.com/t/opening-the-row-i-just-added-with-actions/61872/6 "2023-05-23T07:06:51Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
