01-31-2012, 03:37 AM
puzzle solved!
The loop counter subtraction works!
Is there a problem instance where this solution might cause an error?
S
The loop counter subtraction works!
ARRAY(int) arrintSelectedRowsForDelete
int TotalSelectedRowsForDelete = g0.RowsSelectedGet(arrintSelectedRowsForDelete)
for _i 0 TotalSelectedRowsForDelete
,g0.RowDelete(arrintSelectedRowsForDelete[_i]-_i);;need the counter correction since the row numbers change as the delete occurs each time
,
Is there a problem instance where this solution might cause an error?
S