Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing dbf's
Message
De
17/05/1999 22:10:54
 
 
À
17/05/1999 16:33:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00219666
Message ID:
00219878
Vues:
20
>>>i am using something like this
>>>select a
>>>use filename
>>>set index to
>>>commands
>>>(but right here i want to close it)
>>
>>OK, but you still shouldn't do the SELECT a.
>>
>>Try it this way:
>>
>>
>>SELECT 0          && SELECTS next available workarea
>>USE filename      && This will give a default alias of "filename"
>>SET INDEX TO ...
>>commands...
>>USE IN filename   && this will close your file no matter what the current workarea is
>>
>
>
>Or even better,
>
>USE Table IN 0
>SET ORDER TO TAG MyTag
>
>then to close
>
>USE IN Table


That's OK as long as you don't expect the current workarea to be pointing to Table. It will still be pointing to where ever it was doing it this way. So then you'd need to specify SET ORDER TO TAG MyTag IN Table.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform