Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Progress Information
Message
From
22/08/2006 17:09:37
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01147653
Message ID:
01147717
Views:
18
Updating with a refresh every record may be take too long. One approach you might consider is to run an SQL command to grab all the to-be-processed records into a cursor - which let's you show the regular progress bar via

SET NOTIFY ON
SET TALK ON

You can then treat the cursor as a readonly record set and do REPLACE ALL (which is very fast).


>What is the simplest way to show progress of a procedure (eg., looping thru a table and showing a specific field as some procedure is being run on that record) on a simple form?
>
> Example: field name is CONTRACT. I want a simple form that shows label "CONTRACT NUMBER:" and text box that shows the CONTRACT NUMBER. Is there a way to refresh a FORM from outside the form?
>
>Ie, call the form from within the procedure - then refresh it everytime the CONTRACT NUMBER changes?
>
>TIA
>
>Harry Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform