Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating temporary index tag at run-time
Message
 
 
À
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:
01619661
Vues:
31
>>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.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform