Deleting selected data/row in a table

Sorry that I’m asking this much in the last few weeks, but I keep having problems creating my apps…

This time I want to delete a selected row/selectet data from a table on my app. In the test surrounding it works perfectly, but if I play the app in my Tulip player, this failure comes up. Wht did I do wrong?


If you selected the record, it is in use, and therefore can not be deleted.

You need to:

  • save the ID of the active record into a Variable
  • clear the table record place holder
  • delete the record by the ID of the variable

Hope that helps

1 Like

Thank you for your fast answer. Right now I didn’t know how to do this :smiley: I need to show/display the selected row with all its data next to the table. And then, if needed, I want to delete this selected and displayed row.

I don’t know if this works and if yes, I don’t know how to make it.

You could make the delete button trigger clear the record placeholder first then delete the record.

I don’t know whats the probleme here, I did it like you said, the delete button clears the record placeholder and than it should delete the record… The first step works, the placeholder becomes empty, also the row in the table after that, but it doesn’t work to delete the row. That same error as shown as in the screenshot comes up… :frowning:

I’v tried it with variables instead of an table placeholder, so that the selected data from the table is displayed in variables, not in a table placeholder… Quiet the same here, the button clears the variable, but the error comes up too, that is is not possible to delete the row in the table

Your Trigger should be like this:
(TEST IMAGE is the table name here…)

If Record is selected → save the ID to a variable → clear the Placeholder → delete the record by the ID saved before…

1 Like

Thank you, finally it works and I can go on and get my work done :smiley:

1 Like