By clicking this button, I insert a record in a table of notes, so far ok.
I have another button that is hidden, it appears after the employee starts his workday, the function of this other button will be to stop the employee’s workday, for that I would need to update the record that was created initially.
I am not able to do this. Any idea?
Sorry for my English, I’m from Brazil and I don’t know how to speak properly, I use google translator.
First you will need to make this button into a “Custom List”
You will then have to make this list a collection of the collection you are trying to update and add a record to.
After that, filter the list to only show the current work day (might do this by filtering by current user email, give it a maximum of 1 and then filter by created new to old)
Then that way once you click the button you will be able to update the current work day record.
Hope this helps, i built a similar app.
Hopefully this comes up clear on google translate! hahaha