Gerald,
>>>PADL(ALLTRIM(STR(ParentID)),10,"X")+PADL(ALLTRIM(STR(ChildOrder)),10,"X")
>But, the string used in the seek will be easier to construct and can be used directly as a treeview key (and this is the case here I think).
6 function calls is easier than 2? *s*
It seems like since he has the treeview up and running he's already using a form of node.key that is working. I use "_" transform( Table.PKey ) myself and use int( substr( hode.key, 2 ) ) to get back to the table index. I've seen others put the _ at the end of the string and then a int( val( node.key ) ) works to get the PK back.