Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a Regular Index
Message
From
03/02/1999 10:06:49
 
 
To
03/02/1999 09:17:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00183374
Message ID:
00183408
Views:
19
>Hi all
>
>Is it possible to create a Regular index programatically with similiar results to the table designer where the index key is part of the .cdx file. If I use "Index on something to something", a .idx file is created. Maybe thats ok, but it seems to be a legacy from the past. I have almost completed a utility to copy database structures over to a new database and having seperate .ndx files would be a difference I could live with if needs be.
>
>TIA
>John Harriss

You want to issue an...

index on something tag something

This will put the index in the structural .CDX file.

index on something to something

as you say creates something.idx

index on something tag something of something

will create a something.cdx with a tag of something in it.

BTW: You shouldn't need a utility to do what you want.. you can just use the command...

COPY TO NewFileName DATABASE DataBaseName FOR .F. WITH CDX

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform