Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with create cursor and index file
Message
From
21/05/2004 07:52:02
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
21/05/2004 07:30:43
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00905942
Message ID:
00905949
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
Hi Antonio!

>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.

Try to create the cursor with variable name, thus, you can to use the Sys(2015) for this. Eg.:
lsCursor = Sys(2015)
Create Cursor (lsCursor) ...
Index On..
If this don't work, you can to use the "OF" clausule in "Index On" command.
I hope this help you.
Erick
Força Sempre!
Strength Always!
Previous
Reply
Map
View

Click here to load this message in the networking platform