Information générale
Catégorie:
Codage, syntaxe et commandes
>>You can, but only once (unless they've changed it recently)
>>To get more than one index tag convert the cursor as follows
>>SELECT ...
>> INTO CURSOR C_Tmp NOFILTER
>>SELECT 0
>>USE DBF('C_Tmp') AGAIN ALIAS T_Tmp EXCLUSIVE
>>USE IN C_Tmp
>>
>>You know have a fully indexable table, but you'll need to explicity delete the cdx file when you close the cursor.
>
>Two small addendums...you don't need EXCL since all cursors are local, and the CDX will automatically be deleted from memory when the cursor is...
Exclusive is just there for documentation :-)
My experience has been that certain .cdx's don't get deleted, but I have'nt checked this recently. Must see - I just checked it in VFP 5. The .cdx is not deleted when the dbf is closed!!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement