Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multirow Delete in Grid
#1
I seem to have come across a puzzler!
If I want to delete (multi-)selected rows from a grid, I first find out the selected rows using RowsSelectedGet and then loop then run through the array with a for-counter-loop of RowDelete delete statements for each element in the array that RowsSelectedGet filled.
BUT each time I delete a row, the row count changes!
Is there a way to delete all rows at once or do I have to put in an accounting factor for the row deletion into each turn of the for-counter-loop e.g. subtract the counter integer from the row number?
S


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)