Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index a Cursor????
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00156617
Message ID:
00157230
Views:
28
>>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!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform