Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to update progressbar value during tableupdate?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How to update progressbar value during tableupdate?
Miscellaneous
Thread ID:
00050346
Message ID:
00050346
Views:
83
Hi,

I have sometimes the need to do a batch update on a table buffered table: something in the range of 8.000 records and the underlying table has about 300.000 records. This may take several minutes and I'd like to show some sort of thermometer to the user. But I find no way to do it since I have no clue on how the update process is going. I am using a transaction like this:

BEGIN TRANSACTION
IF TABLEUPDATE(.T.)
END TRANSACTION
ELSE
ROLLBACK
TABLEREVERT(.T.)
ErrorMsg(this.cMsgUpdateFailed + " Table: WageHead")
SELECT (lnCurSel)
RETURN .F.
ENDIF

Any idea how to update the progressbar while I am in the transaction?

José
Next
Reply
Map
View

Click here to load this message in the networking platform