I have a data source with selected rows from a table view. I would like to delete just the selected rows if they match some set of criteria.
the problem I have is that if I do something like this…
repeat with the_row in selected_rows
delete data row the_row in theDataSource
end repeat
At some point I will get an error because after I delete a row the index numbers in selected_rows no longer correlates with theDataSource.
there must be an acceptable way to do this.