>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao