Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Add a Key to a Database Programatically
Message
De
21/09/2015 08:48:21
 
 
À
21/09/2015 04:22:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01624844
Message ID:
01624872
Vues:
56
SET DATABASE TO before I do the INDEX ON solved the problem. It seems I changed the database somehow before indexing.


>Thank you for answering.
>
>This is my problem. The table is in a DBC. I INDEX ON fieldname TAG tagname and do a VALIDATE DATABASE after that. And the VALIDATA gives an error saying that the index is not in the Database.
>
>Next I will try to explicitly SET DATABASE TO before I do the INDEX ON.
>
>TIA
>Gerhard
>
>>>>The mesage comes up when I do a VALIDATE DATABASE. I would like to prevent this message by adding the index definition to the DBC. But I do not know how.
>>
>>If the table is in a DBC and you add a table index, the index ought to be in the DBC. Is there something else going on?
Gerhard Schmidbauer
URANUS Software GmbH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform