SET INDEX TO MyIndex <PRE> You must have MyIndex.IDX or MyIndex.CDX file But If You create a CDX file You can have more then one ORDERs (TAGs) in it. Their names not neccessary are equal to the Name of the index file. If You have CDX file with the same name as a table it is open automaticly when You open the table i.e. <PRE> SELECT MyTable INDEX ON Field1 TAG MyOrder1 INDEX ON Field2 TAG MyOrder2 INDEX ON Field3 TAG MyOrder3That code crate ONE Index File named MyTable.CDX, but in it You have 3 different tags, so The next time You open the MyTable VFP automaticly opens & MyTable.CDX, but If You want to activate some Tag i.e. MyOrder1 You must Use SET ORDER TO MyOrder1, If You Use SET INDEX TO MyOrder1 VFP Generates error because there is no such a file MyOrder1.CDX(IDX)