Record session's start and end time

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

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.

1 Like

Thanks! It is perfect!

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