Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overcome the key uniqueness violated
Message
From
14/06/1998 10:28:05
 
 
To
14/06/1998 07:11:57
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00107980
Message ID:
00107995
Views:
25
You can either PACK the table and thus remove the record or RECALL the deleted record The problem occurs because VFP doesn't really delete records when you DELETE them, it merly sets a flg on the record as deleted (and then filter it out if SET DELETED is ON setting UNIQUE will not matter this command affects REGULAR indexes and it tells it to store only the first occurence of any key (it doesn't prevent duplicate keys either btw) >I have a table with a candidate key. >When I append blank, and delete it, leaving the candidate key field blank. > >And when I try to append another blank record, the error msg >" Uniqueness of Index feildname is violated " > >What can I do to overcome this problem? >Should I set the UNIQUE OFF or ON in the form initialise event, will it help?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform