Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wishlist: SET RECYCLE on and Index on Deleted records
Message
De
11/10/1999 02:20:53
Walter Meester
HoogkarspelPays-Bas
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Wishlist: SET RECYCLE on and Index on Deleted records
Divers
Thread ID:
00274835
Message ID:
00274835
Vues:
76
All,

To Enhance concurrency and decrease the need to pack tables, the following might be a welcome enhancement:

VFP should have the possibility of natively recycle deleted records, so the need of packing tables is reduced. Then tables won't grow larger and larger. NOTE: this only applies to tables, not memo files.

This switch might be set with a
SET RECYCLE ON command.

Every INSERT or APPEND command would make VFP search for a deleted record, fill the contents of the table and clear the deleted mark of the table.

This is now virtually impossible: though you could program this approach for native tables, if you make use of VIEWS, you're not able the recycle recrords in the underlying table.

To accomplish this matter, we also must have a possibility to quickly lookup deleted records. This could be done with an index like:

INDEX ON .T. FOR DELETED()

To hide or emphasize this special index for the user it might be handy to make this index with the following INDEX command:

INDEX ON DELETEDRECORDS

Walter,
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform