473,473 Members | 2,034 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Progress bar

rcollins
234 New Member
So, I was looking into the article section a bit today (needed a break from my own work). This caught my eye because my coworker and I have already decided that it woult be nice to see the progress that the import is doing (Yes, Mary, same project as before). So I have the spreadsheets and database open on logon so she dowesn't have to open 15 spreadsheets. She clicks on the import button and all of the info from 15 spreadsheets 6 pages per is imported into a temp table. A query runs, deletes the records not wanted (distinguised by not having a null duration time) then appended to the real table. It takes quite a while for this import to run, and on occation has failed, where at this point it would be nice to know what spreadsheets have been imported and where it stopped so we can tell where the problem was. Also, it would be nice to see how much longer. Any help would be appriciated, and more details can be given when needed. Access 2003 windows xp. Thanks
Oct 9 '07 #1
10 4261
nico5038
3,080 Recognized Expert Specialist
In a similar case I added a textbox (with a red backcolor) on the form and filled it from the code after each step with a text like:
"Step 7 of 27 Spreadsheet XYZ imported"
With a Me.Repaint I took care that the message became visible before executing the next step.

Nic;o)
Oct 10 '07 #2
ADezii
8,834 Recognized Expert Expert
So, I was looking into the article section a bit today (needed a break from my own work). This caught my eye because my coworker and I have already decided that it woult be nice to see the progress that the import is doing (Yes, Mary, same project as before). So I have the spreadsheets and database open on logon so she dowesn't have to open 15 spreadsheets. She clicks on the import button and all of the info from 15 spreadsheets 6 pages per is imported into a temp table. A query runs, deletes the records not wanted (distinguised by not having a null duration time) then appended to the real table. It takes quite a while for this import to run, and on occation has failed, where at this point it would be nice to know what spreadsheets have been imported and where it stopped so we can tell where the problem was. Also, it would be nice to see how much longer. Any help would be appriciated, and more details can be given when needed. Access 2003 windows xp. Thanks
You can also use the built-in Progress Meter in Access (Status Bar) to provide a visual cue as to where a process is as far as completion.
How to Use a Progress Meter in Access
Oct 10 '07 #3
FishVal
2,653 Recognized Expert Specialist
Hi, collins.

As an additional option to Nico's and Adezii's sugestions you may place progress bar control on the form. You may use [Microsoft progress bar control] available via [More controls] button. It's Value property accepts progress in percents.

Expand|Select|Wrap|Line Numbers
  1. with me.axProgressBar
  2.     .Value=0       'no progress
  3.     .Value=50     ' half way
  4.     .Value=100   ' completed
  5. end with
  6.  
Oct 10 '07 #4
NeoPa
32,556 Recognized Expert Moderator MVP
All these ideas are good ones, but my personal favourite is a simple form that I've designed with messages on it to indicate what stage the job is at. Individual steps are hard to report on (accurately), as Access is notoriously unreliable in what it reports is the progress.
The form I use is popped to the front twice a second by timer code and will hang around for a specified period of time afterwards to ensure the operator has time to take it in. Click on the title after it's finished and it will disappear though.
Oct 12 '07 #5
ADezii
8,834 Recognized Expert Expert
All these ideas are good ones, but my personal favourite is a simple form that I've designed with messages on it to indicate what stage the job is at. Individual steps are hard to report on (accurately), as Access is notoriously unreliable in what it reports is the progress.
The form I use is popped to the front twice a second by timer code and will hang around for a specified period of time afterwards to ensure the operator has time to take it in. Click on the title after it's finished and it will disappear though.
Sorry NeoPa, I still think a Picture is worth a thousand words. There is nothing in my mind that can replace some kind of visual display to indicate the relative completion percentage of a process. Just my 2 cents.
Oct 13 '07 #6
ADezii
8,834 Recognized Expert Expert
So, I was looking into the article section a bit today (needed a break from my own work). This caught my eye because my coworker and I have already decided that it woult be nice to see the progress that the import is doing (Yes, Mary, same project as before). So I have the spreadsheets and database open on logon so she dowesn't have to open 15 spreadsheets. She clicks on the import button and all of the info from 15 spreadsheets 6 pages per is imported into a temp table. A query runs, deletes the records not wanted (distinguised by not having a null duration time) then appended to the real table. It takes quite a while for this import to run, and on occation has failed, where at this point it would be nice to know what spreadsheets have been imported and where it stopped so we can tell where the problem was. Also, it would be nice to see how much longer. Any help would be appriciated, and more details can be given when needed. Access 2003 windows xp. Thanks
Progress Bar in Access 2000 (Specifically Posts 7 to 9)
Oct 13 '07 #7
NeoPa
32,556 Recognized Expert Moderator MVP
Sorry NeoPa, I still think a Picture is worth a thousand words. There is nothing in my mind that can replace some kind of visual display to indicate the relative completion percentage of a process. Just my 2 cents.
I don't really disagree ADezii, but as the progress bar is so unreliable I don't find it's very useful. A thousand words are all very well, but if they're all lies? :D
Oct 13 '07 #8
ADezii
8,834 Recognized Expert Expert
I don't really disagree ADezii, but as the progress bar is so unreliable I don't find it's very useful. A thousand words are all very well, but if they're all lies? :D
Just for curiosity NeoPa, how is it so unreliable?
Oct 13 '07 #9
NeoPa
32,556 Recognized Expert Moderator MVP
Just for curiosity NeoPa, how is it so unreliable?
Well my experience is that it frequently shows 1 pip for about 95% of the time then suddenly it's all finished. Another frequent occurrence is that the progress bar fills up almost immediately but the job doesn't finish for ages.
Thinking about it though (particularly in as much as you would even ask that if you had noticed the same thing) my experience is mainly with linked tables via an old ODBC driver (EasySoft ODBC) which may well be where I'm getting my somewhat jaded opinion from. Maybe it's not Access after all.
If that turns out to be the explanation then I retract all I've previously said unreservedly.
Well worth asking the question ADezii :)
Oct 13 '07 #10
ADezii
8,834 Recognized Expert Expert
Well my experience is that it frequently shows 1 pip for about 95% of the time then suddenly it's all finished. Another frequent occurrence is that the progress bar fills up almost immediately but the job doesn't finish for ages.
Thinking about it though (particularly in as much as you would even ask that if you had noticed the same thing) my experience is mainly with linked tables via an old ODBC driver (EasySoft ODBC) which may well be where I'm getting my somewhat jaded opinion from. Maybe it's not Access after all.
If that turns out to be the explanation then I retract all I've previously said unreservedly.
Well worth asking the question ADezii :)
Always willing to learn something new, NeoPa!
Oct 13 '07 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: SpamProof | last post by:
I got an animated gif that is a barber pole spinning that I want to use as a progress bar. The problem is that is stops spinning (shows 1 frame) when my browser is processing a submited request...
7
by: Pepi Tonas | last post by:
I have a form that takes some time to load because it has to populate some Data. I was trying to display a form on top of it with an activity bar so that user can see that something's going on. ...
1
by: scorpion53061 | last post by:
this code came from cor and I think Armin authored it. I am trying to download an access database and track its progress. It is reading the size fo the file but I am unsure of how to get the...
8
by: Brian Henry | last post by:
I created a smooth progress bar with this code.. but if you update the values in a row quickly of it and watch it on screen it flickers... how would i change this to reduce the flickering?...
8
by: WhiteWizard | last post by:
I guess it's my turn to ASK a question ;) Briefly my problem: I am developing a Windows app that has several User Controls. On one of these controls, I am copying/processing some rather large...
1
by: daniel_xi | last post by:
Hi all, I am running a VS 2003 .NET project on my client machine (Win 2000 SP4, ..NET framework 1.1), running an ASP.NET application on a remote web server (Win 2000 Server, IIS 6.0, .NET...
15
by: eladla | last post by:
Hi! I am creating a composite control the does some of it`s own data access. I want to display a progress bar between the time the page is loaded and the control place holder is displayed and...
5
by: Aggelos | last post by:
Hello I am doing sevreral scripts like sending a newsletter that might take a while to finish first to prevent the browser from timing out and to keep the user informed of the process progress I...
1
by: Bob | last post by:
Hi, I am having trouble seeing how this bolts together. The UI starts a process which involves a long running database update. All Database activity is handled by a class called DT. DT has a...
0
by: jags_32 | last post by:
Hello We use MFG-PRO as our ERP system which in turn uses Progress databases. In the old version of SQL 2000, using DTS packages, we used to set the code page via command prompts and execute DTS...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.