Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Can I Change Uniqueness of index STOCKID is violated
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00702776
Message ID:
00702785
Vues:
12
>Hi All,
>i am using Primary key index on table such as StockID it gives error when i entered exist value on the table this is normal .. so i want to give this error "Uniqueness of index STOCKID is violated " in another language eg. Turkish or another one .
>
>How can i do this ? or what should i do on textboxes or grid control events ?
>
>TIA

Two things come to mind:

1. Check for the existence of the key before updating the table. You can use IndexSeek() for this and the record pointer won't move.
2. Change resource files. This message is contained in the VFP?ENU.DLL resource file. If you use some other resource file (e.g. Turkish, if it exists), the message will be in that language.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform