Thanks a lot.

I'll substitute with a case statement to populate a dataset after further digging into grandchildren and greatgrandchildren.

Thanks