Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check for Valid DBF Before USE?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01182006
Message ID:
01182007
Vues:
13
>I have automated applications, and they USE tables created by other applications. Occasionally, these tables are invalid, causing my VFP application to hang. Is there a way to check for a valid table before attempting to USE it? Or, is there a way to trap the invalid table error? I've been unable to track down the error trapping approach.
>
>Thank you!
>
>---Michael
TRY
	USE MYTABLE
CATCH
	=MESSAGEBOX(MESSAGE())
ENDTRY
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform