Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want an error for VFP Open dialog
Message
From
14/03/2004 17:13:53
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00885697
Message ID:
00886137
Views:
43
>>They could even implement it so that if it is in a TRY section of code then it would report the problem rather than emitting the dialog. That way no one's OLD code breaks EVER as a result of the improvement.
>
>
>Actually it would break this VFP8 Code:
>
>
>Try
>   Select * from ?
>catch
>...
>
>
>I don't know if anyone is using that feature at runtime anyway, but it would break it....

Jeez, I suppose the code would break. On the other hand I suppose I could argue that the CATCH should have code to handle the unexpected error and that it would be handled there.
My thing with depending on the Open dialog is that it tells the poor user NOTHING so such a dependence is truly the programmer abdicating his/her responsibility and, as you say, causing a call to support for sure. In other words, that some programs **may** be written to WANT the Open dialog to appear in the instance FabioL cites is VERY VERY UNLIKELY (to the point that such a programmer would deserve the changed behaviour) IN THE REAL WORLD.

Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform