Thanks Jun, that code seems to confirm that the toplevel has 32 bits of slots open, while children are limited to 8 bits per level. I'm not sure the using the tree_level would be any more efficient than the tcl code, they do pretty much the same thing, but tree_level is more general. I would still need to extend the db_multirow, or at least run a foreach to create the formatting.