Joe,
VFP supports 127 levels of recursion.
Are you using FOR EACH to iterate through the treeview? If so you might try just referencing the nodes via it's Nodes(i) collection instead.
>I'm using the TreeView control to display certain information with the check boxes option activated so users can select them. In some form's methods I had to travel through the nodes collection recursively so I could save the selected nodes into my tables. The problem to do so is that later when I tried to release the form the command doesn't seems to work in any way and the form remains active inside the application desktop. Sometimes I also get a runtime error and have to quit VFP.
>Does anybody knows what is happening or have some experience with this ?
>How deeply can I get into a recursive proccess in VFP ?