Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want an error for VFP Open dialog
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00885697
Message ID:
00887146
Views:
27
>>Terry,
>>
>>It appears that you have missed the point entirely. When a table is called to be opened, and it suddenly does not exist, VFP attempts to "Help" the user by presenting a useless file open dialog that neither explains what file it is looking for nor where in the program execution it encountered this error.
>
>It's a logical error - the programmers responsibility - not VFP's and not the users. Advice- Test before we deliver.

My point exactly, It is an error that should be detected and corrected whether it is a logic error that was not properly tested or some bozo deleted a required file after installation. By presenting a useless Open file dialog and allowing selecting just any file, it not only makes it difficult to find and correct the original error, it propagates more unpredictable errors downstream and hides the original cause of the error.

I doubt that many people code their applications where it checks for the existence of every file, every time it is accessed.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform