Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting
Message
 
 
To
26/11/1999 13:29:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00295796
Message ID:
00295804
Views:
23
Since the record that you have deleted still exists you are violating the uniquness. Either skip over to 12 or reuse the deleted record.

>When I delete a record from my table, I am not able to enter in a new one. I get a unique index violation error. I have SET DELETED ON. I know it is scoped to the current data session, but that doesn't mean too much to me. When I browse the table exclusivly I can see that record, but is there a way to enter in a record that would receive the same ID as the one I deleted? The last record in my table has an ID of 11. I delete it. The next record I add in would receive the ID of 11, since it is autoincremented. But it can't because that other one is still in the table, its marked for deletion.
>
>Thanks,
>
>Tyler
Previous
Reply
Map
View

Click here to load this message in the networking platform