My company currently runs both Visual FoxPro(6) and Dos Foxpro. We have many tables that are used (updated,read,etc) in both formats with no problems. I have a table that is zapped every night and rebuilt using DOS that I have to replace information in. I wrote a program in Visual to do this.
Now -- here is the problem -- After I run my visual program and do a replace on one of the fields in the table( a 10 character replacement from a 10 character field) and I run a program in DOS that uses the file, one of the tags the DOS program uses becomes corrupt. It happens only after I run the DOS program that uses the index of this table.
I can run the same replace program in DOS and this does not happen - the program runs all day long with no corrupt index. It only happens after I run the Visual program to do the update of the field.
I have run FOXFIX, reindexed in Visual and DOS, rebuilt the table and the index manually and appended from the original table in Visual and DOS,and blown away the cdx completely.
What am I missing? What can I do to resolve this besides running my replace program in DOS? How can I fix my cdx?
Thanks in advance,
Kflasph
Now -- here is the problem -- After I run my visual program and do a replace on one of the fields in the table( a 10 character replacement from a 10 character field) and I run a program in DOS that uses the file, one of the tags the DOS program uses becomes corrupt. It happens only after I run the DOS program that uses the index of this table.
I can run the same replace program in DOS and this does not happen - the program runs all day long with no corrupt index. It only happens after I run the Visual program to do the update of the field.
I have run FOXFIX, reindexed in Visual and DOS, rebuilt the table and the index manually and appended from the original table in Visual and DOS,and blown away the cdx completely.
What am I missing? What can I do to resolve this besides running my replace program in DOS? How can I fix my cdx?
Thanks in advance,
Kflasph