Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a Regular Index
Message
De
03/02/1999 10:06:49
 
 
À
03/02/1999 09:17:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00183374
Message ID:
00183408
Vues:
18
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform