From the course: Complete Guide to UiPath RPA Development
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Delete a data table row - UiPath Tutorial
From the course: Complete Guide to UiPath RPA Development
Delete a data table row
- [Instructor] In the overview video for this section, I alluded to the fact that deleting a data table row might not be as simple as it sounds. In order to demonstrate how to delete rows from a database, I'm going to change this Add Data Row here to Delete Me, and I will simulate deleting this row while we're doing work down here in this For Each with a selection. And for now, I'm going to right click and disable this filter again and collapse it. And I'm also going to go into this select here and delete all the parameters in there so that we select all rows to do work. The important thing to understand is UiPath doesn't like it when you try to delete a row from a data table that you're actually working with. And for that reason, we can't delete a row within the body of a For Each row in Data Table activity. And the reason for that is because we're iterating rows directly from the data table itself. And if you try to use delete row, you'll get an error. I mentioned before that it is…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Overview1m 50s
-
(Locked)
Tour of data table activities2m 42s
-
(Locked)
Create a data table6m 18s
-
(Locked)
Add data table rows4m 40s
-
(Locked)
Loop through the rows of a data table5m 16s
-
(Locked)
Filter a data table5m 38s
-
(Locked)
Query a data table9m 33s
-
(Locked)
Delete a data table row5m 10s
-
(Locked)
Other useful data table activities10m 48s
-
(Locked)
Look up a "key" and return a value from same row6m 40s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-
-
-
-