Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot add a record
Message
From
21/07/1999 17:48:58
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00244414
Message ID:
00244417
Views:
16
>I've just created a Database with a few tables, all with numeric primary keys:
>
>
>I go in , browse a table, seelct option to add a record, and leave primary key as zero.
>
>I then try to add another record...it wont let me saying 'Uniqueness of index XXXXXX violated.
>
>
>I reckon the system is trying to assign a primary key of 0, but is there a way around this ?
>

The way is natural: do not leave primary key as 0. Primary key is usually auto-generated sequential number.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform