Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Severe situation on bug
Message
From
30/07/2001 10:54:13
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00537068
Message ID:
00537205
Views:
29
>That certainly is a strange behavior I've never encountered, but it's possible you can beat the problem with something along the lines of my approach error handling. I realized that you may not be in a position to do a major rewrite, and I'm not sure how much of a change would be required, however the basic idea may be applicable.
>
>Maybe you could adjust your error handler logic to capture the necessary info and set a flag, but let it return to the routine that encountered the error. Then let the logic of your method or function that does the COUNT immediately follow that step with a check to see if there was an error. If so, perform the appropriate context-specific error reporting, logging, abort, or whatever.
>
>You can take a look at my ErrHandler forum at http://www.ideaxchg.com/ix07/er/_sys/toccontu.htm, where you'll find documentation and a downloadable demo, with source code.

It's not only in our application. It's also from the command window. We have that all the way. If the count is using an expression which contains a field that does not exist or an expression which contains a variable that doesn't exist, we will have that behavior.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform