Ah, well then, these still need a major overhaul to cope with post #2 and jose's attribute thingys. We jumped into this without enough forethought. The specifications need to be changed to handle the above or a different model needs adoption. I think we have enough info and made enough mistakes to develop a solid set of UDF's here on out. Perhaps we can also consider performance this time through, or leave it for version 2.
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.