Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
White page
Message
 
À
14/01/2005 15:25:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 5
Database:
Visual FoxPro
Divers
Thread ID:
00977337
Message ID:
00977343
Vues:
33
That's because Table1 is used somewhere before:
old_alias = ALIAS()
flag_use = .f.
IF .NOT. USED("Table1")
   SELECT 0
   USE table1
   flag_use = .t.
ENDIF
....
&Your code here

IF flag_use
   USE IN table1
ENDIF

IF .NOT. EMPTY(old_alias)
   SELECT (old_alias)
ENDIF
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform