The structural index file (CDX) is created in the same directory as the table/cursor.
>Is there a way to specify where the index file will be created? The following creates the file in the same directory as the exe file.
>
>Select pword, usrlev From userListQuery Where usrid1 == Upper(PadR(AllT(EngAppVar.thisuserid),10)) InTo Cursor myUserid
>
>Select usrtbl3
>EngAppVar.flname = SYS(2015)
>Set Safety Off
>Index On AllT(usrlname) To (EngAppVar.flname) Additive
>Set Safety On
--sb--