Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating temporary index tag at run-time
Message
De
12/05/2015 08:42:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619642
Message ID:
01619660
Vues:
48
>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.

Indices created with TAG are usually (unless additional information is provided in the command) placed in a file that has the same base name as the table - with the extension CDX. There can be several indices in the same file.
You can also create indices with the old-fashioned "TO" option; in this case, if I remember correctly, you need to specify the filename.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform