Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird Crash
Message
From
30/08/2002 11:25:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00695450
Message ID:
00695452
Views:
12
>Why would this line inside a "WITH THIS.PARENT" statement:
>
>
>IF !ISNULL(loNode2.PARENT) AND ;
>	loNode2.TEXT = loNode.TEXT AND ;
>	TYPE('.tvwTo.Nodes(lcKey)') = 'U' AND ;
>	!([(Company Wide)] $ loNode2.PARENT.TEXT) AND ;
>	(.tvwTo.SELECTEDITEM.TEXT # loNode2.TEXT OR ;
>	.tvwTo.SELECTEDITEM.PARENT.TEXT # loNode2.PARENT.TEXT)
>
>
>Cause this:
>
>Fatal error: Exception code=C0000005

Break it into smaller pieces, to find the offending part.

Something like this:
llCondition1 = IsNull(loNode2.Parent)
llCondition2 = loNode2.Text = loNode.Text
llCondition3 = Type(...
if llCondition1 and llCondition2 and llCondition3 and...
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform