Once again you were correct. It did come back. What I found out is it only happens in VFP6, not VFP7. Unfortunatly we are not able to upgrade our application to VFP7 as we are using a third party library that won't load in VFP7.
VFP6 crashes (sometimes) on this line:
lC8 = type('loNode.TEXT') # 'U'
Here's the offending code (unrelevent code removed)
LOCAL loNode
WITH THIS.PARENT
FOR EACH loNode IN .tvwFrom.Nodes
FOR EACH loNode2 IN .tvwFrom.Nodes
lC8 = TYPE('loNode.TEXT') # 'U'
ENDFOR
ENDFOR
ENDWITH
This fixed it
LOCAL loNode,oNode
WITH THIS.PARENT
FOR EACH loNode IN .tvwFrom.Nodes
oNode = loNode
FOR EACH loNode2 IN .tvwFrom.Nodes
lC8 = TYPE('oNode.TEXT') # 'U'
ENDFOR
ENDFOR
ENDWITH
>>I took your suggestion, and just splitting up the conditions solved the problem. Thanks!
>
>Yeah - forgot to mention that that was a possibility, too. Although I didn't think it was likely in your case.
>
>What is worrying about this is that if you don't really know the cause of the problem, that means that the problem might very well come back :(
>
>Hilmar.
Rip Ryness
International Falls, MN