# Configure "Go to next row" button

**URL:** <https://community.glideapps.com/t/configure-go-to-next-row-button/67680>\
**Category:** Ask for Help\
**Created:** [November 10, 2023, 8:00pm UTC](https://community.glideapps.com/t/configure-go-to-next-row-button/67680 "2023-11-10T20:00:48Z")\
**Posts on this page:** 1\
**Showing post:** 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:** [November 10, 2023, 8:38pm UTC](https://community.glideapps.com/t/configure-go-to-next-row-button/67680/2 "2023-11-10T20:38:03Z")

</div>

For starters you will need to use this method to create row numbers (use case #2).

> [@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…

Then what you would do is add a math column to add 1 to that index number. Then use a Single Value column to retrieve the RowId from the array where you get the nth item (using the math column value) from start of the array. The result should be the RowID of the next row. Once you have the RowID of the next row, then you can create a single relation the links the current row to the next row. Finally create a button with a ‘Show Detail Screen’ action that refers to that relation.

---

_[View the full topic](https://community.glideapps.com/t/configure-go-to-next-row-button/67680)._
