Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Effect of creating indexes on the fly?
Message
 
To
31/08/1999 15:40:43
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00259732
Message ID:
00259856
Views:
18
Hi Sylvain,
>1) INDEX ON MyField TO IDXFile doesn't need exclusive use

But it will only work when the table is not opened with buffering in any datasession of the current VFP instance.

>2) SELECT * FROM MyTable INTO CURSOR curTemp
>INDEX ON MyField TAG MyField (VFP will delete the index at the same time the cursor is closed)

Add a NOFILTER to the SELECT statement. Otherwise you likely end up with the original table used again by VFP and the INDEX command fails.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform