Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use generated primary keys ?
Message
From
09/05/2000 02:41:23
Walter Meester
HoogkarspelNetherlands
 
 
To
08/05/2000 17:13:03
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00367063
Message ID:
00367506
Views:
59
>>Sylvain,
>>
>>>Oh and BTW, a workaround I've seen was to randomize the PK of a record before deleting it. It worked pretty well!
>>
>>Yes, they are what they are, workarrounds. Sure there are lot's of ways to solve the problem (which among the generated PKs) but this isn't constructive.
>>
>>The only problem with the xBase languages is that the deleted records still exist (in such way they still can be accessed and indexed). If this was not the case, the problem would not exist at all.
>>
>>Just think about it, would the problem still exist when deleted records simply are gone ..... ???
>>
>>It solves the problem with:
>>- reusing PKs
>>- The RI problem describe in my message to jim.
>>- The need of filtered indexes
>>- The problem of a non rushmore optimizible PK.
>>
>>My life would be so much easier if this feature was implemented in VFP 7.
>>
>>Regards,
>>
>>Walter,

>It ain't gonna happen. It would break too much existing code.

How can you judge ? If I think of it, it would not that difficult ! Just make VFP ignore deleted records totally. I know you have contacts with the VFP team, but if you know then you sure are not able to tell this (NDA). I've seen statements that VB 7 won't be OO for the same reason. Sorry I don't buy this argument.

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform