Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy One: Deleting Records (for good!)
Message
From
11/12/2001 07:06:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
11/12/2001 00:24:11
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00592432
Message ID:
00592579
Views:
18
>So, if I'm not using SDT, what is the best way to handle "the pack". (The fact that I'm a huge fan of the Packers notwithstanding.) Say you delete records, eventually you want to clean them up? When is the best time? Right after the transaction? At shutdown of the program? At startup? Making it a utility that the user runs???
>
>Thoughts???
>
>Paul
>
>P.S. The Pack is really back.

I would say, do the PACK once a month. Or do a more accurate analysis: when is the number of deleted records greater than a certain percentage of reccount()? When it gets to more than, say, 10-20%, do the PACK.

Depending on concurrent use and size of tables, give your users either a menu option in the main application, to run directly, or a separate EXE with instructions to run at midnight ("use the Windows Task Manager").

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
Reply
Map
View

Click here to load this message in the networking platform