Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Violating of candidate index
Message
From
21/09/1998 07:35:49
 
 
To
21/09/1998 07:28:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00138962
Message ID:
00138963
Views:
11
>Hi all,
>
>I have a problem with candidate index.
>I turn table buffering on at my table with a candidate index NAME on field NAME. If I insert name into the new record by using Insert Into command and then I replace NAME field with the same value which this field already has have, I got "Index NAME is violated." message on table update.
>
>Can you help me with this (I now test whether the new value already exists in field NAME and it is not a fine solution)
>
>Thanks,
>Petr Valach

I think, you can trap the appropriate error in error handler and ask user to either reenter the value or revert the table....
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Previous
Reply
Map
View

Click here to load this message in the networking platform