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:
00156818
Views:
33
>Hi all,
>
>I'd like to know if you can index a cursor.
>
>TIA

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.
HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform