>Has anyone written a function to do this?
>
>Thanks
>Wayne
You mean in VFP? Not that I know of, but you could run Deltree as external command. Probably you can do it through API call too.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison