473,396 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Progress bar... possible in access?

47
Can anyone tell me if its possible to insert a progress bar in access, the way you do in VB???
Mar 17 '08 #1
10 21431
FishVal
2,653 Expert 2GB
You may use some ActiveX, for example MSComctlLib.ProgressBar.
Something tells me it may be exactly the same you use in VB.
Mar 17 '08 #2
neosam
47
You may use some ActiveX, for example MSComctlLib.ProgressBar.
Something tells me it may be exactly the same you use in VB.
In VB you use a timer control which is available as an ActiveX control, does access also have the same control??
Mar 18 '08 #3
FishVal
2,653 Expert 2GB
In VB you use a timer control which is available as an ActiveX control, does access also have the same control??
In Access you have in form design view a toolbar with controls.
Click on [More controls] button and choose an appropriate ActiveX from the list of available ones - for example "Microsoft Progress Bar, version x.x". Normally, a relevant library reference (this case it is MSComctlLib, \WINDOWS\system32\MSCOMCTL.OCX) will be added to your project automatically. If not, then do it manually.
The object model of this control is very simple and intuitive, check availbale properties/methods/events in object browser.

Kind regards,
Fish
Mar 18 '08 #4
tdw
206 100+
In Access you have in form design view a toolbar with controls.
Click on [More controls] button and choose an appropriate ActiveX from the list of available ones - for example "Microsoft Progress Bar, version x.x". Normally, a relevant library reference (this case it is MSComctlLib, \WINDOWS\system32\MSCOMCTL.OCX) will be added to your project automatically. If not, then do it manually.
The object model of this control is very simple and intuitive, check availbale properties/methods/events in object browser.

Kind regards,
Fish
I found this thread searching for a similar question.

I have a field that searches the database for duplicate values and pops up a warning if it finds one. This is because I want to allow duplicate values, but if the user enters one, he should be sure he meant it to be a duplicate (rather than not realizing it was already entered). It happens in the after update event. The problem is that the first time a new record is entered after the form is opened, this search takes several seconds.

I found the progress bar you mentioned above, however I don't know how to make show progress for the search I mentioned above. Is it possible?
Aug 11 '08 #5
FishVal
2,653 Expert 2GB
Hello, tdw.

ProgressBar control may be updated by VBA code only. That means - if search procedure is being performed in several VBA instructions or in loop, then you may add code line to update ProgressBar control to reflect progress. On the other hand you may try use ADO events.

Regards,
Fish
Aug 15 '08 #6
tdw
206 100+
Hello, tdw.

ProgressBar control may be updated by VBA code only. That means - if search procedure is being performed in several VBA instructions or in loop, then you may add code line to update ProgressBar control to reflect progress. On the other hand you may try use ADO events.

Regards,
Fish
My search procedure simply looks to see if an address (as in a street address for a house) had been entered before. It checks three tables: a New Orders table which contains quotes that haven't yet been approved by the customer, an Open Orders table which contains orders that are approved but not yet completed, and an Archived Orders table for orders that have been completed and closed out.

It seems to me from your answer above, that I could write code that advances the progress bar one third, after each table has been checked. I think I would stick the progress bar directly under the field for entering the address, and maybe throw in a Label that changes each time the progress bar advances, i.e. "Searching New Orders for duplicates", "Searching Open Orders for duplicates" etc.

If you know where I can find the programming code I need for advancing the progress bar, could you let me know? I haven't had luck with doing a search.
Aug 15 '08 #7
Hi,

On the Question of Progress Bar, you can try the following examples and choose the one you prefer to use for your specific needs. Requred Code and examples presented here:

http://www.msaccesstips.com/2007/12/...ss-meter.shtml
http://www.msaccesstips.com/2008/01/progress-bar-on-form.shtml
http://www.msaccesstips.com/2008/01/...-counter.shtml

a.p.r. pillai
** Link Removed **
Aug 15 '08 #8
tdw
206 100+
Thanks a lot, I'll try it
Aug 15 '08 #9
ADezii
8,834 Expert 8TB
Here's something very simple you can look at using the built-in Access Status Bar
http://bytes.com/forum/thread645816.html
Aug 16 '08 #10
ADezii
8,834 Expert 8TB
I threw together possibly the simplest Progress Bar of all using only a Form, Label Control, and a couple of lines of code. Take a look and see if it suits your needs.
Aug 17 '08 #11

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

Similar topics

1
by: Riyad | last post by:
Hi all, I have trouble instantiating a COM object from an ASP file: Server.CreateObject raises "Access Denied" error. The COM object is a VB.Net assembly registered for COM Interop. It can be...
7
by: jason | last post by:
Is there a way - possibly a disconnected rs? - to update the contents of an existing pulldown on a page without having to re-submit the page for the user to see the pulldown populated with an...
0
by: dag | last post by:
Hi! I would like to do an overlap window, over my main window (of my application), with a Progress Bar. Exactly when I push a button of my application I want show a window, with a Progress bar,...
2
by: Mrs Howl | last post by:
I don't know if there's even a way to do what I want. I click on a button in an Access form, and it opens an instance of Excel, and opens a workbook and runs a macro that's in it. So far, fine,...
1
by: David A Barajas | last post by:
Is is possible to launch an Access Application within another app, creating a Parent/Child relationship between the App/Access? I'm trying to create a system where I can distribute the Access app...
3
by: iwdu15 | last post by:
hi, this might b getting a bit too...low level but how can i check to see if a certain memory address holds a charge? -- -iwdu15
0
by: mohsin via AccessMonster.com | last post by:
Hi there It's possible access do a diagram box, base on queries from table? or i have to link to other's application? I plan to create one tools which need to link between one table to each...
4
by: Cindy H | last post by:
Hi I am currently using Visual Studio.Net 2003 running on Windows Server 2000 operating system. I have used Visual Studio.net 2003 connecting to Access 2002 databases in the pass with great...
7
by: Lost Prophet | last post by:
Hi I have the below code which is to generate a 2D Array... The problem is that I need to populate it by part of array... not by complete array. For example... map = 1; map = 1; map = 1; ...
5
by: maniesh | last post by:
I want to complete a project and I want to place a timed progress bar on my splash screen, I want to find out a method of timing my progress bar to update every 10 seconds. here's what I got so...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
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...

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.