![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm running a series of processes that update local tables from a data warehouse connected through ODBC, some of which are pretty time consuming, all as a result of the user clicking one button. I'd really like to display a list of the tasks that are being done and check each of them off as they're completed. It'd be cool to show something like the Windows Uninstaller's progress dialog, but whatever's achievable will satisfy me. |
#3
| |||
| |||
|
|
RE/ I'm running a series of processes that update local tables from a data warehouse connected through ODBC, some of which are pretty time consuming, all as a result of the user clicking one button. I'd really like to display a list of the tasks that are being done and check each of them off as they're completed. It'd be cool to show something like the Windows Uninstaller's progress dialog, but whatever's achievable will satisfy me. Chuck's on the Good Right And Holy Path, but I use the status bar a lot. Like when running a series of queries or stored procedures.... I'll just update the status bar with a little message like "Rating Import: Getting raw rating data from JJK....", then "Rating Import: Checking ratings for matches against held securities..." and so-on and so-forth. Only two catches: - At startup time, make sure the status bar is visible - Don't forget to clear the status bar at the end. For processes that go through a number of iterations that can be at least roughly estimated in advance, of course I use SysCmd's InitMeter and UpdateMeter... But that's not going to work for something that's being done by the server unless you can write some sort of loop that gets updates from the server - which I haven't even thought about yet, much less attempted.... ----------------------- PeteCresswell |
#4
| |||
| |||
|
|
I looked for the statusbar control (and the progressbar control) and see that they're ActiveX controls included with the MOD. I'm just running with the standard Office 2k Professional package. |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I looked for the statusbar control (and the progressbar control) and see that they're ActiveX controls included with the MOD. |
#7
| |||
| |||
|
|
I have a simple progress bar function that takes the number of records in the dataset and scales the bar automatically so you see record by record progress in a digital and analog display. Write to me directly if you want the code. Hank Reed hankrunner (AT) aol (DOT) com |
![]() |
| Thread Tools | |
| Display Modes | |
| |