>Hi,
>
>When the program creates a temporary index tag (sample code below), the executable creates a .cdx file in the TEMP folder on the PC.
>Is the name of this .CDX file always random at run time?
>
>
>index on SHOP + str( ORDER_NO, 6 ) tag PrintOrd
>SET ORDER TO TAG PrintOrd
>
>
>TIA.
If I'm not mistaken, the generated CDX is located in the same folder and has the same name as the DBF for which you created the CDX. So it's probably the case in your situation that the table for which you created the CDX was one that existed in the TEMP folder and had a random-looking filename (which is likely to be the case if the table in question was a cursor).