Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique Uniqueness Violation Problem
Message
From
21/07/2004 13:19:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Unique Uniqueness Violation Problem
Miscellaneous
Thread ID:
00926639
Message ID:
00926639
Views:
48
I use Seek() to see if a record is found. If it is I change the as as necessary, if not I use Insert Into to add the record.

I ran into the problem were the record could not be found and the Insert Into code generated an error that indicated creating this record would violate the Uniqueness index.

Comes to find out the index file had to be REINDEXED. This solved the situation. However, how can this situation be trapped and the user warned that all is not well?
Next
Reply
Map
View

Click here to load this message in the networking platform