Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique Primary Key Violation
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Unique Primary Key Violation
Miscellaneous
Thread ID:
00533283
Message ID:
00533283
Views:
32
I have a simple table with one 'regular' (not primary or unique) index. From that I created a view containing the same fields as the base table. Then created a maintenance form (with the form wizard) using the view as the data source. Upon attempting to add and save a record to the empty table using the form, the application framework generates the error: UNIQUE PRIMARY KEY VIOLATION.

I recreated this same scenario using another table and it worked fine.

Thinking that the original table may have been corrupted in some way, I erased the table, view and form, cleaned up the database, rebuilt the project, recreated everything and got the same error.

HELP! Im stumped...

Many thanks,

Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Next
Reply
Map
View

Click here to load this message in the networking platform