Brian Kelley wrote:

what is the 'right' way to delete the records in aView
from mainView (in python)?

Banging my head on the desk on this....

I think this is the way:


indices = mainView.indices(aView)
mainView.remove(indices)

Looks good. It's easy to miss, but there is a subtle issue here: row indices change as rows get removed, which is why the remove() call internally implements this removal in last-to-first order.


-jcw

_____________________________________________
Metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to