Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's with the Pack command?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00269678
Message ID:
00269711
Vues:
24
>This notion of , a record is not really deleted until a “Pack” is strange to me and is causing me to reconsider some basic design philosophies. If the user deletes a record from a table that has a primary key, is there a way for that user to re-enter that record before a pack procedure? If not then how to VFP programmers get around this?

Aside from the ability to issue a RECALL to recover the record (you can seek it with SET DELETED OFF), I'd recommend using a surrogate primary key that's of use only for joining tables, and not for sequencing data, so that throwing away primary keys of discarded records won't matter.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform