Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ideas on Accessing Tables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00475216
Message ID:
00476166
Vues:
29
I don't understand why you can't accessing table, but here it is an idea:



old_alias = ALIAS()
old_error = ON("ERROR")
flag_error = .f.
ON ERROR flag_error = .t.

USE MyTable EXCLUSIVE IN 0

IF NOT USED("MyTable") .OR. flag_error
**** Table is not accessible
ELSE
**** Table is accessible
ENDIF

ON ERROR &old_error
IF NOT EMPTY(old_alias)
SELECT (old_alias)
ENDIF


HTH
Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform