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
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.
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.
You can also look at the Progress Meter in the SysCmd() function in VBA