# Record session's start and end time

**URL:** <https://community.glideapps.com/t/record-sessions-start-and-end-time/71830>\
**Category:** Ask for Help\
**Created:** [March 20, 2024, 5:47am UTC](https://community.glideapps.com/t/record-sessions-start-and-end-time/71830 "2024-03-20T05:47:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Takehide\_Soh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/takehide_soh/32/72509_2.png) [@Takehide\_Soh](https://community.glideapps.com/u/Takehide_Soh)\
**Post date:** [March 20, 2024, 5:47am UTC](https://community.glideapps.com/t/record-sessions-start-and-end-time/71830/1 "2024-03-20T05:47:19Z")

</div>

Hello Gliders,

I’m a beginner of Glide.  
I want to make a simple app recording a session’s start and end times.

The “Start button” will add a new row to the table and insert the current time to the “Start time” column.

The “End button” inserts the current time into the “End time” column of “This item.”

However, in the resulting app, the “End button” always inserts the current time into the first column of the table. I changed the sort order, but the result is the same.

How do I update the “This item” in this case?

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/d/cd3d6573de3a953427b495bce97345b6824b0f2d.png)

---

<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:** [March 20, 2024, 6:10am UTC](https://community.glideapps.com/t/record-sessions-start-and-end-time/71830/2 "2024-03-20T06:10:34Z")

</div>

> [@Takehide\_Soh](#):
>
> However, in the resulting app, the “End button” always inserts the current time into the first column of the table. I changed the sort order, but the result is the same.

The first column, or the first row?  
In the absence of Row Owners or Filters, I would expect it to update the value in the first _row_.

What actions do have have on each of those buttons?  
Can I assume that “Start” uses an Add Row action to add a row to your Sessions table?  
And “Stop” does a Set Column Values action to update the End Time in the same table?  
And the collection that’s shown is from the same table?

If my assumptions are correct, what you should do is delete the End button, and instead add an Item Click action to your Collection. This will allow you to set the End Time in the correct row.

---

<div class="post-metadata">

**Author:** ![Takehide\_Soh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/takehide_soh/32/72509_2.png) [@Takehide\_Soh](https://community.glideapps.com/u/Takehide_Soh)\
**Post date:** [March 20, 2024, 2:32pm UTC](https://community.glideapps.com/t/record-sessions-start-and-end-time/71830/3 "2024-03-20T14:32:37Z")

</div>

Thanks! It is perfect!

---

<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:** [March 27, 2024, 2:32pm UTC](https://community.glideapps.com/t/record-sessions-start-and-end-time/71830/4 "2024-03-27T14:32:45Z")

</div>

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