Hi
I would consider using recursion since you have multiple levels of hierarchy.
In reply to Re: Creating table from file lists by mickep76 in thread Creating table from file lists by affc