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