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 04:22:11
 
 
À
20/09/2015 20:28:50
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
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:
01624864
Vues:
48
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform