# Passing rowID to a new page

**URL:** <https://community.glideapps.com/t/passing-rowid-to-a-new-page/82387>\
**Category:** Ask for Help\
**Created:** [June 10, 2025, 9:54pm UTC](https://community.glideapps.com/t/passing-rowid-to-a-new-page/82387 "2025-06-10T21:54:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jikasef](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jikasef](https://community.glideapps.com/u/jikasef)\
**Post date:** [June 10, 2025, 9:54pm UTC](https://community.glideapps.com/t/passing-rowid-to-a-new-page/82387/1 "2025-06-10T21:54:55Z")

</div>

I’m building a golf scorecard app. You can register for a round/match (this writes to the matchs table) when you start a match, it opens a new page where you select the hole number, then select hole gross score. (this will write to holescore table)  
My challenge is passing some data form the matches table to the holescore table (matchID, playerID, teamID)

 ![Screenshot 2025-06-10 224423](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/4/a42ed55c3ff4581ebb9cff9f165ad0a4f9c7238d.jpeg)  
 ![Screenshot 2025-06-10 225336](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/d/8d551a1390e6beb863063ed5047c3ceae9da9da8.png)

 ![Screenshot 2025-06-10 224442](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/d/8d072fdef85211fef2946d321df57821bb1cd365.png)  
 ![Screenshot 2025-06-10 225310](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/e/3e99a377f462f9c42ff9a8e57de41c433dc4a30f.png)

---

<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:** [June 11, 2025, 12:54am UTC](https://community.glideapps.com/t/passing-rowid-to-a-new-page/82387/2 "2025-06-11T00:54:31Z")

</div>

So at which point do you record the score? Is it when you click the Play Match button?

I imagine you can have a form button that is structured exactly like this.

 ![Screenshot 2025-06-10 224442](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/d/8d072fdef85211fef2946d321df57821bb1cd365.png)

You can use special form values to pass the matchID to the destination table.

You might need an extra choice component to choose the player.

I’m not sure how the player relates to the team (is it a team having multiple players and a player can only belong to a single team or something else).

---

<div class="post-metadata">

**Author:** ![jikasef](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jikasef](https://community.glideapps.com/u/jikasef)\
**Post date:** [June 11, 2025, 7:37am UTC](https://community.glideapps.com/t/passing-rowid-to-a-new-page/82387/3 "2025-06-11T07:37:53Z")

</div>

Thanks for your response.

The match to be played is selected (and you can see the players involved)

 ![Screenshot 2025-06-10 224423](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/4/a42ed55c3ff4581ebb9cff9f165ad0a4f9c7238d.jpeg)

When you click on play match button, it brings you to this

 ![Screenshot 2025-06-10 224442](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/d/8d072fdef85211fef2946d321df57821bb1cd365.png)

where you select the hole number, then select the score for that hole. (my plan is to make it a multi step form that will take you through all 18 holes of the game)

It is a singles and doubles. Yes a team can have multiple players, and a player can only belong to one doubles team and entre as a singles player.

“You can use special form values to pass the matchID to the destination table.” this is the main issue I’m trying to figure out. How do I go about this?

---

<div class="post-metadata">

**Author:** ![Federico\_Fleitas](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/federico_fleitas/32/77461_2.png) [@Federico\_Fleitas](https://community.glideapps.com/u/Federico_Fleitas)\
**Post date:** [June 11, 2025, 12:00pm UTC](https://community.glideapps.com/t/passing-rowid-to-a-new-page/82387/4 "2025-06-11T12:00:47Z")

</div>

Hi,

You can use the Action, Add row, and set the RowID in the field of you Table

---

<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:** [June 11, 2025, 11:11pm UTC](https://community.glideapps.com/t/passing-rowid-to-a-new-page/82387/5 "2025-06-11T23:11:10Z")

</div>

> [@jikasef](#):
>
> where you select the hole number, then select the score for that hole. (my plan is to make it a multi step form that will take you through all 18 holes of the game)

Is it just aesthetic that you plan to do a custom form for this? A form/form container can also help you add rows to the scores table.

> [@jikasef](#):
>
> “You can use special form values to pass the matchID to the destination table.” this is the main issue I’m trying to figure out. How do I go about this?

You can check this section when you create a new form.

 ![CleanShot 2025-06-12 at 06.12.18](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/2/f25103f9f7ffe694aec147824ce84be60df693a0.jpeg)

That should give you the option to choose the match ID. You can add choice components for playerID and teamID.

---

<div class="post-metadata">

**Author:** ![jikasef](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jikasef](https://community.glideapps.com/u/jikasef)\
**Post date:** [June 14, 2025, 5:34pm UTC](https://community.glideapps.com/t/passing-rowid-to-a-new-page/82387/6 "2025-06-14T17:34:13Z")

</div>

the problem is that, I am using a new screen (detail screen) when you click on the ‘play match’ button to build a custom form.

here you have the match detail screen (rowID can be displayed - this is for reference here) when you click on the play match button

 ![Screenshot 2025-06-14 181626](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/3/d348211a55ee078837413fa6727abdfb7a35869d.jpeg)  
It opens a new screen connected to matchscores table.  
 ![Screenshot 2025-06-14 181656](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/7/57e83e50231241d1c306a8a3e12564682335caee.png)

I need to pass that rowID from the match table (in the match details screen) to this one (match scores)

 ![Screenshot 2025-06-14 181716](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/8/b8bc69f807c31be81b5bf1fb1c3285d9b15cbccc.png)

---

<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:** [June 15, 2025, 2:04am UTC](https://community.glideapps.com/t/passing-rowid-to-a-new-page/82387/7 "2025-06-15T02:04:21Z")

</div>

> [@jikasef](#):
>
> the problem is that, I am using a new screen (detail screen) when you click on the ‘play match’ button to build a custom form.

Yeah it relates to my question above. Does it have to be a custom form or can it be a native form? It’s much easier if it’s a native form in my opinion.

But if it has to be the custom form.

> [@jikasef](#):
>
> It opens a new screen connected to matchscores table.

Then this might be a problem. Why do you have to create that screen in the match scores table, opposed to having it on the current table (Match Details), where you have direct access to the rowID?
