Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exception C0000005 on wait window command
Message
From
27/11/2001 10:38:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00586253
Message ID:
00586332
Views:
13
>Also, even if it were the wrong type, why the fatal error and not one trapped within VFP?

I have found on numerous occasions that C...5 errors are caused by "normal" VFP errors that should have been trapped. Therefore, I think, you should ask yourself what can possibly go wrong with your command. Wrong type is the most obvious candidate here... and yes, I agree that wrong type shouldn't happen with your code.

>I do agree separating out the str() call my help and I appreciate your thoughts.

Well, the idea is to divide the code into the smallest pieces possible.

What caused the problem in your original code? The WAIT WINDOW? Or the conversion with STR()? That's what you want to find out.

Some errors might even dissapear by the mere fact of separating a long command into pieces!

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