How do I use a checkbox to delete a record?

Can anyone give me any pointers to do the following:

In table view display a checkbox. When it is checked delete the record it belongs to and (just before that) copy the record to another table.

I have seen the complex way of displaying a checkbox here but wondered if it would allow me to do the above. I realise I could probably experiment in all this but I seem to hit brickwalls quite quickly in Appsheet and wondered if the experts had done something similar to get me started.

I guess I could create an add and a delete action but how do I tie these to the value of the (virtual column?) checkbox?

Solved Solved
0 4 187
1 ACCEPTED SOLUTION

For inline actions you do not need a separate checkbox. If you tap on the action icon, the action will invoke.

 

If you need to invoke action for multiple rows together, you can use bulk actions option.

https://help.appsheet.com/en/articles/3582281-bulk-select

View solution in original post

4 REPLIES 4

If understanding of your requirement is correct, you could create a grouped action with the first action as 

1) Add a record to another table using values from this record

2) And then "Delete" action.

You could assign this "Add and Delete" group action as an inline action in the summary views such as table views.

 

Thanks but my question is about how do I tie that action group into the check box value? So if it is checked run the action group.

For inline actions you do not need a separate checkbox. If you tap on the action icon, the action will invoke.

 

If you need to invoke action for multiple rows together, you can use bulk actions option.

https://help.appsheet.com/en/articles/3582281-bulk-select

Brilliant, thanks!

Top Labels in this Space