I am trying to make an app where a user can click a button 'start' when he starts an action and 'stop' when he stops an action. Both of these actions should result in adding a timestamp to the record (column in excel file)
the following function is linked to my button 'start':
OnSelect = Patch( Planning, First(Filter( Planning, StartTime = "" ) ), { StartTime: Text( Now() ) } )
(Planning is the name of the table in my excel file, StarTime= name of the column in Excel where the timestamp should be added)
When I try the app, clicking the button doesn't result in the addition of the timestamp in my excel file.
link to pictures of powerapps and excel table: https://imgur.com/a/XgQF56y?
What is wrong with my function/code?
Thanks in Advance!!
OnSelect = Patch( Planning, First(Filter( Planning, StartTime = "" ) ), { StartTime: Text( Now() ) } )
I expect the timestamp to be added to the right row and right column (StartTime) in the record (excel file) with table name 'Planning'