Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C5 error when returning from a form
Message
 
 
To
19/03/2008 17:40:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01303682
Message ID:
01303713
Views:
13
>Sometimes, on random occasions, our system throws a C...5 error when returning from a child form. This is not an consistent reproducible error, so it vary difficult to track. I have read and implemented the suggested fixes and workarounds. These include not performing a RETURN inside the TRY / CATCH block, and few others. Since do this, the number of C5 error have dropped. But occasionally one pops up. Can anyone suggest any other reason this may still be occurring?
>
>*** Update ***
>
>Each time this occurs it returning from a UDF procedure or a form. There appears to be either field variable or public variable being passed. What effect can this have?
>
>Thanks.

Please also see http://doughennig.blogspot.com/2006/04/dont-return-inside-with.html

And also visit fox.wikis.com and search for C0005
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform