Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check a table is opened before use the table ?
Message
De
13/01/2006 10:59:13
 
 
À
13/01/2006 04:28:11
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01086459
Message ID:
01086547
Vues:
17
I would put it in a TRY - ENDTRY construct:
TRY
     USE (lcDBFName) IN 0 AGAIN ALIAS mydbf SHARED
CATCH TO loException
     ...Error occurred
ENDTRY
IF USED('mydbf')
    SELECT mydbf
    ...Continue with code
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform