Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 How to detect a table in use by views
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00948339
Message ID:
00948720
Vues:
15
Hi

>That's why you need an error trapping procedure. That's basically the only way to find, if the table could be opened excusively or not.

I just gave your code a try but it seems that the class/form takes the error responsibility so the following line raises an error in the CodeBook framework rather than the error number being assigned to lnErr=ERROR()

USE (m.tcTable) AGAIN &tcMode IN 0 ALIAS (m.tcAlias)

Please advise, how can I let your function handle the error rather than passing it up he heirarchy?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform