Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique Key Violation
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00245748
Message ID:
00245761
Views:
11
>< SNIP >
>
>>You can also change the key value before deleteing a record. FOr example a numeric key could be made negative when the record is deleted.
>>
>
>Changing the key works, but making it negative doesn't, for the simple reason that if you ever recycle a key twice, there will be two identical negative values...
>
>>The index could be made a composite key that includes the deleted status as part of the key.
>
>Same problem.

Ed,
I guess I didn't think those options all the way through. I've always used either the DELETED OFF option or surrogate primary keys.
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform