239
Views
2
Comments
Solved
How to remove all records from datatable
Question

Hello guys, i have this datatable and i want to remove all records in it. It´s possible or it´s necessary create new one?




2023-02-10 19-42-59
João Melo
 
MVP
Solution

Easy, create a Timer and schedule it to run when published. In its logic you use the Delete action within a loop to get rid of the records.

If you have advanced knowledge in SQL, you can use a component from the Forge called SQL Sandbox.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

You can install https://www.outsystems.com/forge/component-overview/5900/sql-sandbox

which allow you to execute SQL statements to delete 1, more or all records in your OutSystems entities.

Regards,

Daniel

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.