Hi I have been searching the forums and I can t seem to find a clear understanding to me what needs to update in order for the progress bar in my dialog box to increment during my looping script. Can anyone shed more light on this topic??? I saw some progress bar samples but they were all outside of dialog boxes. I will have a start record count in my script and as it progresses I want to update the progress bar accordingly. So if I start with 500 records, the i would like to see the progress bar at 50% filled when it gets to record 250.
Using Dialog1 and progressbar1 inside.
Thanks
Progress bar in dialog box
Moderators: Dorian (MJT support), JRL
Progress bar in dialog box
Just when you thought it was safe to go in the water........
- Marcus Tettmar
- Site Admin
- Posts: 7391
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Simply set Max of progressbar1 to the number of records (e.g. 500). Then each time you update a record set progressbar1's Position property to the record number.
So when you're at record 250, the position would be 250 which would be 50% of the way along.
So when you're at record 250, the position would be 250 which would be 50% of the way along.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?