# Only one row per day per user, Why does glide make 2?

**URL:** <https://community.glideapps.com/t/only-one-row-per-day-per-user-why-does-glide-make-2/73145>\
**Category:** Ask for Help\
**Created:** [May 7, 2024, 10:04am UTC](https://community.glideapps.com/t/only-one-row-per-day-per-user-why-does-glide-make-2/73145 "2024-05-07T10:04:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohad](https://avatars.discourse-cdn.com/v4/letter/o/f04885/32.png) [@ohad](https://community.glideapps.com/u/ohad)\
**Post date:** [May 7, 2024, 10:04am UTC](https://community.glideapps.com/t/only-one-row-per-day-per-user-why-does-glide-make-2/73145/1 "2024-05-07T10:04:03Z")

</div>

Hi,  
My users has to fill a questioner once a day.  
Each day they enter the questioner and creates their one and only individual row and start with the questioner.  
\*All the questioner pages are filtered to show the user:  
**1. last row within today**

The problem:  
For some reason, after 1-2-5 min into the questioner , the app “restart” (they see white screen - \> then - \> spinning circle - \> and then back to the beginning.  
They have to enter the questioner again and the button creates **new row** again.  
It confuses the filter condition because now we have 2 rows within today so the user can not make any progress.

The solution that I did:

1. I created a condition in the questioner button that says: if the last row it within today , then - \> delete it and create a new one. if not - \> then - \> create a new one.  
**it does not work** , I guess because does not “See” the new row after the “restart”.  
So what is the solution for this?

I am using glide classic, I know its not supported anymore but I pay more then 400$ a month for usage and expect for help.

Thanks.

---

<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:** [May 7, 2024, 1:35pm UTC](https://community.glideapps.com/t/only-one-row-per-day-per-user-why-does-glide-make-2/73145/2 "2024-05-07T13:35:54Z")

</div>

Wouldn’t you be able to:

- Use a query column to query the “row within today” of the signed-in user. Add a single value column on top of it to retrieve the first whole row.
- In the button, if the query column is empty, add a new row and show the screen.
- If the query column is not empty, show the details screen of the single value \> first whole row.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [May 11, 2024, 8:29am UTC](https://community.glideapps.com/t/only-one-row-per-day-per-user-why-does-glide-make-2/73145/3 "2024-05-11T08:29:48Z")

</div>

> [@ohad](#):
>
> For some reason, after 1-2-5 min into the questioner , the app “restart”

Do you know if you are using a native form or a custom form? To me it seems you might be using a custom form. Any reason why you are not using a native form for your questionnaire?

---

<div class="post-metadata">

**Author:** ![ohad](https://avatars.discourse-cdn.com/v4/letter/o/f04885/32.png) [@ohad](https://community.glideapps.com/u/ohad)\
**Post date:** [May 12, 2024, 6:15am UTC](https://community.glideapps.com/t/only-one-row-per-day-per-user-why-does-glide-make-2/73145/4 "2024-05-12T06:15:12Z")

</div>

The questioner is about 50 questions, Around 20-40 pages. and the amount of the questions that the user sees is depends very much on the previews answers.  
Which means it has to be costume “form” with a lot of “visual conditions”.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [May 12, 2024, 7:01am UTC](https://community.glideapps.com/t/only-one-row-per-day-per-user-why-does-glide-make-2/73145/5 "2024-05-12T07:01:05Z")

</div>

Have you tried to implement Thinh’s suggestion above?

It would launch a custom action with two branches and maybe prevent from creating a new row if the current one is not completed. You might have to add a DateComplete timestamp column and include a non-empty filter in Thinh’s query column.
