Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with create cursor and index file
Message
From
21/05/2004 09:15:48
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00905942
Message ID:
00905975
Views:
21
Hi Martin,

This will work, but it is not so efficient, and you must be sure to delete the indexfiles after they are not needed anymore.
INDEX ON yourfield TAG yourfield
will create the index in RAM if possible, and it will be deleted automatically when the cursor is released.

>Hi Antonio,
>
>You can create index on localmachine:
>
>*INDEX ON eExpression TO IDXFileName | TAG TagName [OF CDXFileName]
>*   [FOR lExpression]   [COMPACT]   [ASCENDING | DESCENDING]
>*   [UNIQUE | CANDIDATE]   [ADDITIVE]
>
>INDEX ON bla TAG blaI OF c:\temp\bla.cdx
>
>
>MartinJ
>
>>I have a form where I use create cursor to create a temporary table. This temporary table is indexed with comand INDEX ON ... ADDITIVE
>>
>>The problem is: when this form is been used by two or more users at same time I receive a message asking to overwrite the index.
>>
>>How to solve this?
>>
>>I am using VFP7 and the session is defined as private.
Previous
Reply
Map
View

Click here to load this message in the networking platform