On 26 Feb 2004 at 11:03, Jerry wrote:

[...]

>  1) create a separate temporary view for each type and manually copy
>     the flattened view into it, creating and setting 'type'
>     appropriately.  Then union off of these PyView objects.
>  2) or modify my system to always write the subview type into the
>     subview.  This means extra programming and run-time overhead, and
>     extra strings in tens of thousands of records.
>  3) or some other creative idea you suggest.

I don't really grasp what you're trying to do, but 2 things come
to mind: 
1) view.rename("value", "newvalue") might help
2) tmp = vw[:] will turn a ROViewer into a (in memory) View, so you
could add a column.

I wouldn't worry too much about processing time - what you're
doing is already pretty intensive.

-- Gordon

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

Reply via email to