Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing tables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00549537
Message ID:
00549556
Vues:
18
>>I have a form where I open tables at runtime. The tables have a random name. The problem is: how can I close all open tables at a given time except one? I've tried calling the dataenvironment's opentables method but didn't work. Am I missing something?.
>>
>>Thanks in advance.
>
>Dimension laList[1]
>lnOpen = AUsed(laList)
>For i=1 TO lnOpen
>	If Upper(laList[<font color=red>i, 1</font>]) <> "MYALIAS"
>		USE In laList[<font color=red>i, 2</font>]
>	Endif
>Endfor


Sergey's code is what you need, I just fixed two things (in red)
- Erik Niese-Petersen

Crazy Dane in USA.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform