>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 = FORCEPATH(SYS(2015),somePath)
>Set Safety Off
>Index On AllT(usrlname) To (EngAppVar.flname) Additive
>Set Safety On
You can define where the file index is created for private indexes only:
Index On AllT(usrlname) To (EngAppVar.flname) Additive
INDEX on AllT(usrlname) TAG sometag OF (EngAppVar.flname)
Don't use a ALLTRIM() like index key,it is not a beautiful to see.