Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding File Open Dialog
Message
 
À
07/06/1997 19:39:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00035541
Message ID:
00035550
Vues:
36
> Does anybody know if it is possible to avoid a file open dialog and instead > force a VFP error in cases where a file does not exist in a SELECT > statement? > > For example, if I issue: SELECT * FROM Dummy, and there is not a DUMMY.DBF, > the program stops with a file open dialog. This is not desirable in an > Automation Server situation that can handle a file not found error much > better than a permanant wait state. IF USED("DUMMY") OR FILE("DUMMY.DBF") SELECT ... ENDIF
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform