# Get numbers in Glide tables when user press a button

**URL:** https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769
**Category:** Ask for Help
**Created:** [February 10, 2023, 4:52pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769 "2023-02-10T16:52:11Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![yoannh21](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yoannh21/32/47922_2.png) [@yoannh21](https://community.glideapps.com/u/yoannh21)
#### Post date: [February 10, 2023, 4:52pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/1 "2023-02-10T16:52:11Z")

</div>

Hi everyone!

I have a technical problem to solve on my Glide app. When a user press a button, I want that two numbers in my glide table in maths columns comes into two other numbers columns. So I configures an action which Set column value. But when I try the button, the numbers I get in my table are the wrong numbers (it’s 1 and 0 at the place of 3 and 2). What can I do?

---

<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: [February 10, 2023, 5:00pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/2 "2023-02-10T17:00:39Z")

</div>

You’ll need to provide some more context here. Screenshots of data. Screenshots of your actions. I don’t know what you mean by 1 and 0 at the place of 3 and 2.

---

<div class="post-metadata">

### Author: ![yoannh21](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yoannh21/32/47922_2.png) [@yoannh21](https://community.glideapps.com/u/yoannh21)
#### Post date: [February 10, 2023, 5:04pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/3 "2023-02-10T17:04:28Z")

</div>

![Capture d’écran 2023-02-10 à 18.01.49](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/5/851d6d159a88ba8ab6d747118ae806df78298de9.png)  
What is store in Likes is 3 and in Dislikes it’s 2 but get 1 in Start likes and 0 in start dislikes

---

<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: [February 10, 2023, 5:07pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/4 "2023-02-10T17:07:32Z")

</div>

> [@Jeff\_Hager](#):
>
> Screenshots of data.

This would be useful too.

---

<div class="post-metadata">

### Author: ![yoannh21](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yoannh21/32/47922_2.png) [@yoannh21](https://community.glideapps.com/u/yoannh21)
#### Post date: [February 10, 2023, 5:11pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/5 "2023-02-10T17:11:04Z")

</div>

![Capture d’écran 2023-02-10 à 18.09.42](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/0/10a67012733475c7438ed5678b0a86cc1a3e9f08.png)

---

<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: [February 10, 2023, 5:58pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/6 "2023-02-10T17:58:44Z")

</div>

Where does the data from the math columns come from? Does it ultimately come from a table under row ownership? Maybe some rollup columns from a relation to a table under row ownership??? I’m purely guessing since I don’t have the full picture here, but you probably have row owners somewhere, which is causing rollups to only count rows that you actually own, so that’s why you are only getting counts of 0 or 1. One table only has 1 row that you actually own, and the other table doesn’t have any.

---

<div class="post-metadata">

### Author: ![yoannh21](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yoannh21/32/47922_2.png) [@yoannh21](https://community.glideapps.com/u/yoannh21)
#### Post date: [February 10, 2023, 6:02pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/7 "2023-02-10T18:02:27Z")

</div>

By ownership you mean user specific data? Because I don’t have any user specific data in this project.

---

<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: [February 10, 2023, 6:12pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/8 "2023-02-10T18:12:44Z")

</div>

No, by Row Owners I do mean Row Owners. I’m not talking about user specific columns.

---

<div class="post-metadata">

### Author: ![yoannh21](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yoannh21/32/47922_2.png) [@yoannh21](https://community.glideapps.com/u/yoannh21)
#### Post date: [February 10, 2023, 6:18pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/9 "2023-02-10T18:18:20Z")

</div>

No I don’t think it is user specific columns (but maybe I’m wrong). I have the data that I want, displayed correctly in the same table, in the same row with the same user in Likes and Dislikes.

---

<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: [February 10, 2023, 6:20pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/10 "2023-02-10T18:20:48Z")

</div>

> [@yoannh21](#):
>
> No I don’t think it is user specific columns (but maybe I’m wrong)

Like I said. I’m not talking about user specific columns. I can see that it’s most likely NOT user specific columns. What I’m asking about is Row Owners. Completely different thing.

> **[Row Owners | Glide Docs](https://www.glideapps.com/docs/essentials/security-and-user-data/row-owners)**
>
> A secure way to restrict access to certain rows.

---

<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: [February 10, 2023, 6:24pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/11 "2023-02-10T18:24:34Z")

</div>

You didn’t answer my other questions, but trace back through those math columns, all the way to the source columns in whatever tables they come from. Then check to see if the rows in those tables have row owners applied.

---

<div class="post-metadata">

### Author: ![yoannh21](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yoannh21/32/47922_2.png) [@yoannh21](https://community.glideapps.com/u/yoannh21)
#### Post date: [February 10, 2023, 6:25pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/12 "2023-02-10T18:25:42Z")

</div>

To be honest I don’t know how to make row owners so I don’t think I have done this because I don’t know how to do. I think I understand what you mean (I saw a YouTube video of Robert on the subject). I go to lunch and then I try to solve with this new info and I comeback here.

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [February 10, 2023, 6:32pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/13 "2023-02-10T18:32:13Z")

</div>

> [@yoannh21](#):
>
> To be honest I don’t know how to make row owners so I don’t think I have done this because I don’t know how to do.

If you have a users table, check the email column to see if it has a little blue icon like is shown below:

 ![CleanShot 2023-02-11 at 02.29.45@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/f/8fe41ccb6814027ceed9ce1bdfbc6ed864ad8a63.png)

If you see that, then it means that column has Row Owners applied. Glide does that by default, so you might not have noticed it.

If it’s there, you can remove it by editing the column.

---

<div class="post-metadata">

### Author: ![yoannh21](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yoannh21/32/47922_2.png) [@yoannh21](https://community.glideapps.com/u/yoannh21)
#### Post date: [February 10, 2023, 6:37pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/14 "2023-02-10T18:37:58Z")

</div>

You are right! Thank you, I have the data that I want now! Another question, on my app I have a swipe fonctionality but users can also scroll (and the scroll doesn’t work so easy) so what can I do? I delete the swipe and I replace it by two buttons?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [February 10, 2023, 6:40pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/15 "2023-02-10T18:40:40Z")

</div>

Don’t thank me, thank @Jeff_Hager 😉

Would you mind creating a new topic for your second question please?

---

<div class="post-metadata">

### Author: ![yoannh21](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yoannh21/32/47922_2.png) [@yoannh21](https://community.glideapps.com/u/yoannh21)
#### Post date: [February 10, 2023, 6:42pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/16 "2023-02-10T18:42:20Z")

</div>

I Thank you two both! (Thank you also Jeff 😀)

> [@Darren\_Murphy](#):
>
> Would you mind creating a new topic for your second question please?

Ok!

---

<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: [February 11, 2023, 6:43pm UTC](https://community.glideapps.com/t/get-numbers-in-glide-tables-when-user-press-a-button/57769/17 "2023-02-11T18:43:16Z")

</div>

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