Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted records
Message
From
25/01/2003 18:22:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/01/2003 18:15:14
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00745433
Message ID:
00745474
Views:
25
>Hilmar,
>
>Well, I suppose it would be possible for there to be some way to do this, but as Sergey has pointed out there are potential problems...
>
>It may be easier if VFP had some sort of automatic recycling scheme built in, where new records could automatically overwrite deleted ones.

Well, this is easily handed by the programmer, using some index that discriminates deleted records, finding the deleted records, blanking them, and reusing them. This could be done in some base classes.

A built-in scheme in VFP could use the same approach.

However, for memo fields, the situation is more complicated, since they are of variable size.

I have tried in the past to recycle deleted records, but I don't currently think it is worth the trouble.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform