Progress meeter issue

bfuchs
bfuchs used Ask the Experts™
on
Hi Experts,

I just added the Progress meeter control into my form in order to display the status of a couple of queries that are to be executed in sequence.

Now I also want to add a label next to it showing the % of the progress, however the labels caption only gets updated (to the user) at the end..

how can I overcome this issue?

FYI- We have Office 2000/3.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Application Developer
Top Expert 2007

Commented:
If you only have two  queries, then at best it's only going to show 50% and 100% anywa, during the starting and stopping of the two queries.

You can also look at the Progress Meter in the SysCmd() function in VBA
Hi,

I have about 6 stages (including requery and apply filter).

Do you have an example to demonstrate how this SysCmd() works?
Is this meant to use on top of the progress meeter or instead of it?

Thanks,
Ben
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Application Developer
Top Expert 2007

Commented:
six stages ?  Not following.

An Action Query has one stage ... Append, Delete, Update, Make Table.  Not sure what you mean by 'requery' and apply filter ?

The SysCmd PM appears on the Access Application Window Status Bar at the bottom.

If you open the VBA editor, and put in SysCmd in the Help window - a full description will come up.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Hi Joe,

What I meant to say is that I need it to display in 6 different stages, first 0% before start then 15% after the first query takes place, then 30% after the second, 45% after the third, 60% after the forth, 75% after requery the screen and 100% after filtering the form.

Re syscmd, its very small user would not even notice.

Thanks,
Ben
Owner, Dev-Soln LLC
Most Valuable Expert 2014
Top Expert 2010
Commented:
Ben,

I have an article on Progress Bars which includes a sample form and code at this link.It will let deal with either one or two simultaneous processes and pass new % values at any time in the process.
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database Architect / Application Developer
Top Expert 2007

Commented:
Yes I highly recommend Dale's Progress Bar.


"45% after the third,"
Well, I was going on  " a couple of queries"
?
Hi Experts,

Will test that & let you know.

Thanks,
Ben
This seems to serve the purpose,
Thank You!
Dale FyeOwner, Dev-Soln LLC
Most Valuable Expert 2014
Top Expert 2010

Commented:
glad I could help

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial