Yes, I do have a CDX file but with different tags. This particular IDX file is for other purpose. For this particular situation, this program opens the table with this command:
USE jkarofil INDEX jkarofil.idx SHARE
The same command works in the command window but does not work in the VFP6 app. It was still working this morning but I already verified all the things that I can think of. Very strange...
I have another similar issue with same table name in different directories. The above command open fine in the command windows and the data is in the corrent order, but in the application, it open with NO ORDER?? I am 100% sure that the code has not been change.