Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to find orphans - seek vs SQL
Message
De
22/11/2000 17:07:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00444141
Message ID:
00444785
Vues:
27
>Hi Walter,
>
>First of all, I would like to thank you again for this solution. I added a new FAQ entry about it, it would appear soon.
>
>Secondly, do you know, is there a way to display a thermometer here?
>If I use scan...endscan for the whole file, I can show a progress bar easily. Since here I use a scan for !keymatch(...), this technique would not work. Do you have ideas? If not, it's not critical, wait window would be enough, I think.
>

You would have to get a COUNT FOR !KEYMATCH(... first to have an upper end for the progress bar.

Is an index in use? If not, you could still use a progbar, just get the percent using recno()/reccount()*100 - if you get to eof() and the progress bar isn't done, force it to 100. It will jump periodically instead of having a smooth incrementation, but people are used to seeing M$ progress bars do that <g>
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform