Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Specify where index file is created
Message
De
19/08/2005 10:31:59
 
 
À
19/08/2005 09:54:29
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01042259
Message ID:
01042283
Vues:
20
>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:
* idx
Index On AllT(usrlname) To (EngAppVar.flname) Additive
* or cdx
INDEX on AllT(usrlname) TAG sometag OF (EngAppVar.flname)
Don't use a ALLTRIM() like index key,it is not a beautiful to see.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform