Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index violation error
Message
From
16/12/2008 14:34:50
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01367400
Message ID:
01367936
Views:
8
>>In a network application on a Novel network the user occasionally gets the error message "Table failed to update table. Unique index viiolation:."/ Usually when trying to add data. Any idea why would be appreciated.
>
>Claude,
>
>Do you have a unique index in your table? Usually it doesn't make sense to have unique indexes, make sure you're not confusing it with the candidate index.

I change a candidate index to a regular index and had to add ah explicit SQL Update command to avoid duplicating the record/ I also removed the implicit edit command from my find command so that user has to explicitly edit the record to avoid the Uniqueness violation error.

I do not understand why how the one gets to the record would make a difference when it is saved.

the user is testing now.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform