Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want an error for VFP Open dialog
Message
De
17/03/2004 12:20:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00885697
Message ID:
00887146
Vues:
28
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform