Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append from or Copy To with progressbar
Message
 
 
À
16/02/2001 16:59:32
Bryan Palmer
Ramtech Building Systems, Inc.
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00476841
Message ID:
00477547
Vues:
17
Hello Bryan,
I have used this tecnique for show a progressbar during a index command. I think that must function also for APPEND or COPY TO command (but only if the source file is a DBF file !!!)

Set a public variable and store the max number of record to append or copy

Write your command in this form:
- APPEND FROM nnnnn FOR udf_setmybar()
- COPY TO nnnnn FOR udf_setmybar()

Write in your procs file the simple UDF (udf_setmybar()) that read RECNO(), the public variable with the total of record and set the appropriate value for bar.
Note: The udf MUST return ALWAYS .T. !!!!

Because my english is not very good, I hope you can understand my message.

Ciao
Bruno
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform