# Next/Previous record/details screen buttons

**URL:** <https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411>\
**Category:** Ask for Help\
**Created:** [December 6, 2023, 8:24am UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411 "2023-12-06T08:24:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andy_hill/32/63380_2.png) [@Andy\_Hill](https://community.glideapps.com/u/Andy_Hill)\
**Post date:** [December 6, 2023, 8:24am UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/1 "2023-12-06T08:24:10Z")

</div>

When going from the top level Navigation screen using a list from my Google Sheet to the Details page of a record/row, I can’t find a way to add Next/Previous record buttons.

I have been sent a link to a video of someone doing it from a few years ago but it didn’t contain full instructions and looking at their video they are using the ‘classic’ style app.

I have found other topics on this forum but again they appear to be using the ‘classic’ app.

Is there detailed instructions on how to do this easily on the ‘new’ type app?

Looking at the other examples the relations and inline list components aren’t available to me in the new app and my attempts to replicate this in the new app have failed.

Many Thanks,

Andy

I was sent this before but it didn’t help me work out what to do: [Paging and navigation using increment action](https://community.glideapps.com/t/paging-and-navigation-using-increment-action/10520)

---

<div class="post-metadata">

**Author:** ![Hassan\_Nadeem](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hassan_nadeem/32/72956_2.png) [@Hassan\_Nadeem](https://community.glideapps.com/u/Hassan_Nadeem)\
**Post date:** [December 6, 2023, 11:42am UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/2 "2023-12-06T11:42:44Z")

</div>

> [@Previous and Next Record in Detail View](https://community.glideapps.com/t/previous-and-next-record-in-detail-view/65449/3):
>
> Here is an alternative solution that doesn’t consume updates. Basically you create an array with all the items and iterate through it using custom Next/Prev buttons.

Try this method

---

<div class="post-metadata">

**Author:** ![Andy\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andy_hill/32/63380_2.png) [@Andy\_Hill](https://community.glideapps.com/u/Andy_Hill)\
**Post date:** [December 7, 2023, 8:12am UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/3 "2023-12-07T08:12:44Z")

</div>

Hi Hassan,

Thanks for sharing the video.

The Sheet I’m using is constantly having new records/rows created using a form from a website. I’m struggling to follow what is being done in the video but it appears to be for a set of data that isn’t being updated.

Our glide app won’t be publicly available, so I’m less concerned about app updates, I really just need a simple next button or a way to change detail pages without having to go back. The only solutions that look half simple are done in the classic type app.

I’m not sure if I’m missing something but shouldn’t there be some sort of core feature to do this?

Many Thanks,

Andy

---

<div class="post-metadata">

**Author:** ![Hassan\_Nadeem](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hassan_nadeem/32/72956_2.png) [@Hassan\_Nadeem](https://community.glideapps.com/u/Hassan_Nadeem)\
**Post date:** [December 7, 2023, 8:19am UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/4 "2023-12-07T08:19:25Z")

</div>

@Andy_Hill feel free to schedule a call with today on [Calendly - We Don't Code](https://calendly.com/wedontcode/introduction?back=1&month=2023-12&date=2023-12-07) and I’ll help you out.

---

<div class="post-metadata">

**Author:** ![Andy\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andy_hill/32/63380_2.png) [@Andy\_Hill](https://community.glideapps.com/u/Andy_Hill)\
**Post date:** [December 7, 2023, 9:26am UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/5 "2023-12-07T09:26:36Z")

</div>

Hi Hassan,

I appreciate your reply but we don’t currently have any further budget for this project.

Many Thanks,

Andy

---

<div class="post-metadata">

**Author:** ![Hassan\_Nadeem](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hassan_nadeem/32/72956_2.png) [@Hassan\_Nadeem](https://community.glideapps.com/u/Hassan_Nadeem)\
**Post date:** [December 7, 2023, 10:28am UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/6 "2023-12-07T10:28:40Z")

</div>

It’s a free call don’t worry. @Andy_Hill

---

<div class="post-metadata">

**Author:** ![Andy\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andy_hill/32/63380_2.png) [@Andy\_Hill](https://community.glideapps.com/u/Andy_Hill)\
**Post date:** [December 8, 2023, 8:55am UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/7 "2023-12-08T08:55:35Z")

</div>

Your offer of help is appreciated.

Glide Support sent me this video which goes halfway to what I’m trying to achieve.

I’ve replicated what is done in the video, the issue is that the buttons are on the First screen and not the detail screen, I need to be able to show all of the details on the ‘Things’ sheet and have the buttons below it.

Currently, you would need to click on the dynamic item in the list and then press back to go back to the list again.

If I go into the details screen I can only pull data from the Things sheet and not the data from the Helper sheet that I would need for the buttons there.

Does that make sense what I’m trying to do?

I’m unable to share the app because it contains personal data.

The use case is photo competition entries are made on a form on a WordPress entry site, for judging I want all the photos and captions to appear on the details page (6 photos and captions along with category headings and entry serial number, then at the top and bottom of the details screen I want buttons to go to the previous and next entry (row on a sheet), without the judge having to press back and find the entry on a list again.

I have got as far as showing all the entry information on the details screen, but if I add the buttons I can’t get the information for them from anywhere but the entry sheet rather than the navigation sheet I’m trying to use as per the instruction video. I can only get the buttons to work on the first ‘list’ screen, but then I can’t show the full details of the entry.

Many Thanks,

Andy

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [December 8, 2023, 9:03am UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/8 "2023-12-08T09:03:48Z")

</div>

So… when you click an item from the list to see details… you want buttons on that screen to show the previous and next items?

---

<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:** [December 8, 2023, 1:42pm UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/9 "2023-12-08T13:42:25Z")

</div>

Start by building the columns for the 2nd use case in the following post.

> [@How do I create an auto-incrementing row number with Glide Tables?](https://community.glideapps.com/t/how-do-i-create-an-auto-incrementing-row-number-with-glide-tables/39572):
>
> This is a question that comes up a lot, so creating this topic to use as a reference. Typically, there are two distinct use cases when it comes to auto-incrementing row numbers. Use Case 1: – We need to generate a Part Number, or an Order Number, or an Employee ID. Once the number is generated, it should never change, even if rows are deleted. – The general approach for this use case is to maintain a static counter, use it to craft a suitably formatted ID, and increment it by one every time…

Once you have that, create 2 math columns. One to subtract 1 from the index, and one to add 1 to the index.

Next, create 2 single relation columns. One that links the first math column to the index column, and a second relation that links the other math column to the Index.

Now you should have two relations that each point to the row above and below the current row. Now on your detail screen add two buttons. Both with a Show Detail Screen action, but each one using the appropriate relation as it’s source.

That should be it. You should be able to use buttons to navigate between items.

**Edit** : I just quickly scanned through Grumo’s video that @Hassan_Nadeem shared and it is doing the exact same thing that I suggested, except that I eliminated one extra step. I’m not sure I understand why you feel his method wouldn’t have worked for you because I feel it should work quite well and dynamically.

---

<div class="post-metadata">

**Author:** ![Andy\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andy_hill/32/63380_2.png) [@Andy\_Hill](https://community.glideapps.com/u/Andy_Hill)\
**Post date:** [December 8, 2023, 2:52pm UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/10 "2023-12-08T14:52:28Z")

</div>

Hi Uzo,

Yes, that’s correct. I’ve followed everything in the video from Support but it only put’s buttons on the first screen, and I have to click the item showing to get all the details up and at that point I can’t point any buttons added to the details screen to the other data.

Thanks

---

<div class="post-metadata">

**Author:** ![Andy\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andy_hill/32/63380_2.png) [@Andy\_Hill](https://community.glideapps.com/u/Andy_Hill)\
**Post date:** [December 8, 2023, 3:54pm UTC](https://community.glideapps.com/t/next-previous-record-details-screen-buttons/68411/11 "2023-12-08T15:54:23Z")

</div>

Hi Jeff,

Thanks for your reply - I have tried again and just realised a step I missed from Grumbo’s video and I think I have it working now. I was trying to follow several videos and kept hitting walls.

I’ve done it on a test app, I’ll try doing it again with the live data again now and hopefully I’ll have cracked it.

Many Thanks,

Andy
