Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating temporary index tag at run-time
Message
From
12/05/2015 08:43:14
 
 
To
12/05/2015 08:42:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01619642
Message ID:
01619661
Views:
32
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform