Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index
Message
From
25/05/2004 10:41:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/05/2004 10:25:25
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Index
Miscellaneous
Thread ID:
00906290
Message ID:
00906922
Views:
12
>hi,
>thank you for raply.
>
>i change DataSession to 2privet,and i stopped set talk off(i see many things at myform)
>,set safety off(i get a message idx already exist over writet yes,no same result it return back i (press ctrl+alt+del to skip). same result at vfp5,vfp8.
>regards.

Of course, you might use the debugger to see at what command you get this message.

However, it seems to me that you are trying to create an index every time you open the form.

First of all, don't use IDX, use CDX. That is, create the index with the TAG option, and not with the TO option. (Or just use the "Index" tab in the dialog that appears when you issue the MODIFY STRUCTURE command).

Second, don't create the index as part of the form definition. Create your index together with the table structures.

You seldom need IDX files; now and then you will need some temporary indices. But for didactical purposes, it is better to postpone this question for now.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform