Avatar of bfuchs
bfuchs
Flag for United States of America asked on

Progress meeter issue

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.
Microsoft AccessVBA

Avatar of undefined
Last Comment
Dale Fye

8/22/2022 - Mon
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

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
bfuchs

ASKER
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 - Former Microsoft Access MVP)

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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
bfuchs

ASKER
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
ASKER CERTIFIED SOLUTION
Dale Fye

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

Yes I highly recommend Dale's Progress Bar.


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

ASKER
Hi Experts,

Will test that & let you know.

Thanks,
Ben
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
bfuchs

ASKER
This seems to serve the purpose,
Thank You!
Dale Fye

glad I could help