Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add new record
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00171529
Message ID:
00171533
Views:
32
>Happy new year to all....
>I can't add a new record into my table. It says "Primary key uniqueness violated" How comes the problem?

Obviously, you have primary index tag and try to add record with existing value in appropriate primary key field(s). The problem usually appears when you use APPEND BLANK, the usual remedy is to generate primary key value by using function as field default value (you may look into Tastrade sample to see some examples).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform