Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show a Progress Bar During Deletions
Message
From
27/07/1999 12:43:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Show a Progress Bar During Deletions
Miscellaneous
Thread ID:
00246702
Message ID:
00246702
Views:
42
I have several tables that need to be cleaned up periodically, i.e. deleted and reindex (which also packs the table). This will take a while and I would like to display a progress bar to reassure the user that something is happening. I have two cases:

1. single table
2. two tables with related by ref integerity rules.

I use code like the following

DELETE ALL FOR expresion1 [AND expression2 [ AND ... ]]

with one to three expressions. Can this be done if so how. Would a SCAN loop be better (what are the performance hits). During testing I noticed deletion for tables with ref integrity rules seem to take a while.
Next
Reply
Map
View

Click here to load this message in the networking platform