Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from or Copy To with progressbar
Message
From
20/02/2001 06:20:06
 
 
To
16/02/2001 16:59:32
Bryan Palmer
Ramtech Building Systems, Inc.
Texas, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00476841
Message ID:
00477547
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform