Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement