Thanks for the extra info @DannyHoney ! Considering that as well as your screenshot, it appears that the screen you are working on is a "details screen". For example the users can see a list of items and when they click on an item in the list, you pass data from one screen to the next and then take the user to that screen. In the example I created I have a screen where users can see a list of all meetings, when users click a meeting they are then taken to a details screen showing extra information about the meeting (in my case ‘comments’). Here are screenshots of my example app...
This screenshot shows a list of meetings that currently exist:
If a user clicks on one of the meetings in the list they are taken to a details screen that shows extra information about the meeting, in my case ‘comments’ about the meeting:
It is in the details screen where I want to include a cancel button so that it changes the status of my meeting to ‘Cancelled’ in my table as well as the app. To do this I’ll replicate what you have in your screenshot and make a few call outs so that it works properly.
1.) First thing I’ll do is create the ‘Cancel’ button and set the source of its block to $[InputRow]. What this will do is ensure my ‘Cancel’ button is referring to and changing the appropriate data.
2.) Next I created the Overwrite automation and set ‘Take data from’ to FINDROW(PL_Status,"PL_Status[Status]=%","Cancelled")
Then set the ‘write to’ to the ‘Status’ column of my ‘Schedule’ table
As a result, clicking on the cancel button will update the row of data in my table and set the ‘Status’ to ‘Cancelled’. This will also cause the update to show in my app as well. Here is the app in action:
Let me know if you have any questions on this or if your set it is different, happy to continue to work through this together
One other thing I'll note is that if you want to hide the cancel button, for any items that already has a 'Cancelled' status, you can leverage conditional visibility to accomplish that. From your screenshot, I think you might already be aware of that though