Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Progress bar for SCAN FOR
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00698437
Message ID:
00698565
Vues:
16
If the table is unordered then you can compare RECNO() against RECCOUNT() to move the progress bar, but I am not sure I like having an "erratic" progress bar (One that moves a different speeds)

Instead of a progress bar you can set talk to window, set talk on and do a replace for (same condition as scan), although I think it also behaves "erratic"

Just my 2 cents

>Hi everybody,
>
>I have a Global Replace form. In this form user may write a FOR condition. I then run a SCAN FOR command to do replace...
>
>I'm thinking about adding a progress bar... However, I don't want to count number of records prior to executing this command.
>
>I'm wondering, what can you advise here? Do you think, it would not be a much of confusion, if I would just use total number of records in the file to set maximum value of the progress bar?
>
>Thanks in advance.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform