# Navigation between records - possible?

**URL:** <https://community.glideapps.com/t/navigation-between-records-possible/4011>\
**Category:** Ask for Help\
**Created:** [January 27, 2020, 12:46pm UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011 "2020-01-27T12:46:56Z")\
**Posts on this page:** 11\
**Page:** 2

<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:** [March 24, 2020, 1:11am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/21 "2020-03-24T01:11:10Z")

</div>

@matt Here’s a copy of the app I’m working on. It pretty rough at the moment, but if you look at the memories tab you can see what I’m doing with the buttons. It’s a photo gallery with buttons that show the previous and next image. I’m not cycling from last to first in mine. Instead I have an empty First and Last page so the tile buttons stay in their respective places once I hit the end of the gallery. I’m also displaying everything in reverse order so the logic is a bit backwards.

Curious how you did the Previous and Next text. Are you using a Tile list like me or using separate buttons?

[rwtsk.glideapp.io](http://rwtsk.glideapp.io)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 24, 2020, 11:59am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/22 "2020-03-24T11:59:57Z")

</div>

I’m adding this to feature requests. I’ve wanted paging, too. I see it working in the details view for any inline list. Just a “simple” previous/next button to navigate to the detail view of the previous/next row in the table.

---

<div class="post-metadata">

**Author:** ![matt](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/matt/32/289_2.png) [@matt](https://community.glideapps.com/u/matt)\
**Post date:** [March 25, 2020, 8:46am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/23 "2020-03-25T08:46:05Z")

</div>

Hey Gliders. This is what I was able to do to navigate from one detail screen of a list to another detail screen without needing to go back to the list, as well as have a “workout complete” button.

The list that I wanted to click through is a set of 10 exercises. The detail screen for each exercise has a diagram of how the exercise is done, the sets/reps, and a description of the exercise. I didn’t want the buttons to show the name of the next exercise, instead opting to just show “next exercise” in the button. I also wanted to add a “workout complete” button that only appears at the final exercise of the list.

To have the button show “Next Exercise” instead of the exercise name, I just added a column with the text that I wanted to display for each exercise. The key data elements in my table are the current exercise name, the text of the next button, and the exercise that will be displayed with the next button is selected. See table.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/c/cc15fa7b310a1e241dbc6cbdd41df6a51d06200f.png)

I then built the relationship (like Jeff) which links one row of a table to the next row. I then added an inline list (again, like Jeff) with tiles and selected the “Title” of button to be the “Next Text” data field (instead of the exercise name). I preferred no background image for my buttons and de-selected the option to “show title when image is not available”. This created a standard, but somewhat boring, button on each detail screen.

For the final exercise, I included the text of “Done” (which didn’t match any values in the exercise name column), which prevented the next button from appearing at all for the final exercise. However, the final task needed to display a “workout complete” button, which I solved by adding a button component with a visibility condition to show the component when the Next Exercise value is “Done”.

The downside to this solution is that the next exercise button and workout complete buttons have different fonts, colors, etc., but it met the functionality requirements.

Some screenshots…  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/2/2aed0eb132b08c7061c8da0e88c0347f25b51916.png)

Jeff - many thanks for your model. Couldn’t have built this without it.

LMK if anything didn’t make sense…

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 25, 2020, 11:13am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/24 "2020-03-25T11:13:25Z")

</div>

Well done, @matt. Bookmarking this for later.

---

<div class="post-metadata">

**Author:** ![Manan\_Mehta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manan_mehta/32/13957_2.png) [@Manan\_Mehta](https://community.glideapps.com/u/Manan_Mehta)\
**Post date:** [June 8, 2020, 9:41am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/25 "2020-06-08T09:41:15Z")

</div>

I think this would make a lot of things simpler with the newly launched increment action.

> [@Paging and navigation using increment action](https://community.glideapps.com/t/paging-using-increment/10520):
>
> With the recently launched increment action, navigation between records becomes much simpler which previously required setting up plenty of relations to move around. How to do it?

---

<div class="post-metadata">

**Author:** ![Nocodemobileapp](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodemobileapp/32/6721_2.png) [@Nocodemobileapp](https://community.glideapps.com/u/Nocodemobileapp)\
**Post date:** [July 23, 2020, 3:30am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/26 "2020-07-23T03:30:51Z")

</div>

Is it possible to go to next rows or previous rows with swipe left or swipe right in detail view?

---

<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:** [July 23, 2020, 3:36am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/27 "2020-07-23T03:36:15Z")

</div>

You can use buttons with increment action for it.

> [@Paging and navigation using increment action](https://community.glideapps.com/t/paging-and-navigation-using-increment-action/10520/):
>
> With the recently launched increment action, navigation between records becomes much simpler which previously required setting up plenty of relations to move around. How to do it?

---

<div class="post-metadata">

**Author:** ![Nocodemobileapp](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodemobileapp/32/6721_2.png) [@Nocodemobileapp](https://community.glideapps.com/u/Nocodemobileapp)\
**Post date:** [August 2, 2020, 11:44am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/28 "2020-08-02T11:44:22Z")

</div>

Thank you very much I am going to learn from it.

---

<div class="post-metadata">

**Author:** ![RyanThomas](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@RyanThomas](https://community.glideapps.com/u/RyanThomas)\
**Post date:** [July 3, 2023, 9:58pm UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/29 "2023-07-03T21:58:22Z")

</div>

My app uses Row ID’s and don’t have sequential ID numbers. Seems like I would have to have sequential ID numbers to use the increment button, is that correct? Trying to figure out if there is an easy way to add next and previous record buttons to my app.

---

<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:** [July 4, 2023, 12:00am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/30 "2023-07-04T00:00:51Z")

</div>

You don’t need to have sequential IDs. First, I would like to know that:

- Do you have multiple groups in that table and you only want to navigate between records of the same group?

- Or do you want to navigate between records of the whole table?

---

<div class="post-metadata">

**Author:** ![RyanThomas](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@RyanThomas](https://community.glideapps.com/u/RyanThomas)\
**Post date:** [July 4, 2023, 1:13am UTC](https://community.glideapps.com/t/navigation-between-records-possible/4011/31 "2023-07-04T01:13:26Z")

</div>

That’s right, I have multiple groups in that table and I’d only like to navigate between records of that group.

I had tried Jeff’s method above but it didn’t quite work for me because the items in the table might not get entered in sequentially. My app keeps track of notes about different scenes in a movie, so you might enter in info about scene 1,2 and then enter in info about scene 5, then later enter in info about scene 3 and 4.

Not sure if that has an affect on this method, but it seemed like it was a bit of an issue with Jeffs.

[Previous page](https://community.glideapps.com/t/navigation-between-records-possible/4011.md?page=1)
