Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating temporary index tag at run-time
Message
 
 
À
12/05/2015 01:36:05
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:
01619658
Vues:
38
>>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.
>
>If I'm not mistaken, the generated CDX is located in the same folder and has the same name as the DBF for which you created the CDX. So it's probably the case in your situation that the table for which you created the CDX was one that existed in the TEMP folder and had a random-looking filename (which is likely to be the case if the table in question was a cursor).

Thank you. This makes sense.
"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