473,763 Members | 1,333 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Combo box possibilities

14 New Member
Here are the other 2 questions I have. I forgot to mention I am on Access 2003/Windows XP.

The second and third question I have is on Combo box. Can a combo box be used to access several documents on the network drive (U) or any other location? For example from the drop down list there are 3 options.
Weekly figures
Monthly figures
Quarter figures

Each one of these would open the related word or excel document.


The third question is, I saw a posting on this but apparently I didn’t get everything. I would like to create a combo box which list web addresses that a user can chose from. First I tried to add the values (web addresses) in the combo box then changed the hyperlink (format tab) on the combo box to yes but that didn’t work. Then I decided to create a table with the addresses as hyperlinks and then created a combo box with the table. Change the combo box hyperlink to yes and it still did not work. I thought for sure the second one would have worked but I had no luck. Hope I made sense. Thanks for any help.
Nov 17 '06 #1
5 3235
MMcCarthy
14,534 Recognized Expert Moderator MVP
Here are the other 2 questions I have. I forgot to mention I am on Access 2003/Windows XP.

The second and third question I have is on Combo box. Can a combo box be used to access several documents on the network drive (U) or any other location? For example from the drop down list there are 3 options.
Weekly figures
Monthly figures
Quarter figures

Each one of these would open the related word or excel document.
Instinctively I would say that the best way to do this is to create a table with a list of linked oleobjects and include a field to reference them as above.

The only other way I can think of to do this is to have all the files in one folder and get a list of the contents of the folder to populate the combobox. (There is code for this if necessary)

The files would have to contain some naming convention regarding their weekly, monthly, etc. status. Which would have to be checked for using in the aforementioned code.


The third question is, I saw a posting on this but apparently I didn’t get everything. I would like to create a combo box which list web addresses that a user can chose from. First I tried to add the values (web addresses) in the combo box then changed the hyperlink (format tab) on the combo box to yes but that didn’t work. Then I decided to create a table with the addresses as hyperlinks and then created a combo box with the table. Change the combo box hyperlink to yes and it still did not work. I thought for sure the second one would have worked but I had no luck. Hope I made sense. Thanks for any help.
I can't remember the resolution on that. Maybe someone else will. If not I'll try to find out.

I do remember making a comment regarding the original email entries and whether they had the mailto:someone@ domain.com format.
Nov 18 '06 #2
ADezii
8,834 Recognized Expert Expert
Here are the other 2 questions I have. I forgot to mention I am on Access 2003/Windows XP.

The second and third question I have is on Combo box. Can a combo box be used to access several documents on the network drive (U) or any other location? For example from the drop down list there are 3 options.
Weekly figures
Monthly figures
Quarter figures

Each one of these would open the related word or excel document.


The third question is, I saw a posting on this but apparently I didn’t get everything. I would like to create a combo box which list web addresses that a user can chose from. First I tried to add the values (web addresses) in the combo box then changed the hyperlink (format tab) on the combo box to yes but that didn’t work. Then I decided to create a table with the addresses as hyperlinks and then created a combo box with the table. Change the combo box hyperlink to yes and it still did not work. I thought for sure the second one would have worked but I had no luck. Hope I made sense. Thanks for any help.
1) Populate a Combo Box, say cboWebSites, with any valid entries such as:
www.microsoft.c om, www.yahoo.com, etc.
2) Insert the Microsoft Web Browser ActiveX Control onto a Form and use it
exclusively for browsing (name it WebBrowser1)
3) Select a Web Site from the Combo Box and wherever appropriate, add this simple line of code:
Expand|Select|Wrap|Line Numbers
  1. Me![WebBrowser1].Navigate Me![cboWebSites]
Nov 18 '06 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
1) Populate a Combo Box, say cboWebSites, with any valid entries such as:
www.microsoft.com, www.yahoo.com, etc.
2) Insert the Microsoft Web Browser ActiveX Control onto a Form and use it
exclusively for browsing (name it WebBrowser1)
3) Select a Web Site from the Combo Box and wherever appropriate, add this simple line of code:
Expand|Select|Wrap|Line Numbers
  1. Me![WebBrowser1].Navigate Me![cboWebSites]
Good catch ADezii and good solution.

I misread the question to refer to email address rather than web addresses.
Nov 18 '06 #4
PEB
1,418 Recognized Expert Top Contributor
Hi with the list, queries or combo boxes you can do it...

At this place
http://www.mvps.org/access/modules/mdl0001.htm

There is an exemple that illustrates an Explorer in Access...

When you click on an entry it is open...

It seek everywhere!
Nov 18 '06 #5
Bface
14 New Member
Thank you all for replying. I have created, populated the Combo Box [CboWebSites] and created the Form WebBrowser1 with the ActiveX control. Could someone please let me know where I am suppose to add the line of code.

Thanks!
Nov 19 '06 #6

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

Similar topics

3
4319
by: vgrssrtrs | last post by:
<html> <head> <script language="JavaScript"> <!-- /* *** Multiple dynamic combo boxes *** by Mirko Elviro, 9 Mar 2005 *** ***Please do not remove this comment
8
2438
by: PeteCresswell | last post by:
I'm looking for some code that makes a list presented in a subform autoscroll in response to the user typing - like a combo box dropdown or a regular ListBox does. I.e. The user is looking at subform that is a list of, say, 2,000 people's names. The first name is "Aardvark, John", and the last name is "Zero, James". Instead of scrolling, the user types "S" and is jumped to "Sammons". Then, on the next keystroke as they type "m", it...
11
2804
by: my-wings | last post by:
I think I've painted myself into a corner, and I'm hoping someone can help me out. I have a table of books (tblBooks), which includes a field (strPubName) for Publisher Name and another field (strPubCity) for Publisher City. These two fields have a many-to-one relationship with tables, (tlkpPubName and tlkpPubCity) respectively. The lookup tables only have one field (strPubName and strPubCity), which is their primary key. I also have...
1
1672
by: scott_baird | last post by:
I'm sure there are easier ways, but... I have a combo box that has 5 possibilities (one of which is "sold"). When the combobox.value=Sold, I want an image to appear, otherwise to not be visible. So, I thought I do an If Then Else statement, but it doesn't seem to be working... I'm not entirely too proficient at access programming (enough to be dangerous), but I did: ****************** If combobox.value = Sold then image11.visible =...
12
2526
by: Randall Parker | last post by:
Using DropDownList to create select/option tags in HTML how to make the first option be a blank string? I have fields with optional values. Currently I'm populating the DropDownList by querying out a list of choices from a table. But the table shouldn't have a blank row. A couple of possibilities: 1) Use a UNION query. I've done this in MS Access with combo boxes and the first member of the union returns a single row. I can't...
3
3653
by: hmiller | last post by:
Hey everyone, I am having a hell of a time trying to set this menu system up. Here's what I'm trying to do. Combo Box One; is populated by names under properties "row source" "Phase 1" through "Phase 10" (there are 10 Phases I want to sort from) Once the phase has been selected a second combo box would populate.
2
2451
by: kiranmn75 | last post by:
I want to dynamically populate a combo box through javascript. Data is coming from a array. Sometimes data list may contain items in excess of 2000. Explorer takes more than 5 seconds to populate the combo (for a list of 2500). Can anybody optimize the code. I tried Duffs devise instead of 'for loop', but no improvement.
22
4889
by: MLH | last post by:
If 3 things can be in one of 2 states, the number of possible combinations is equal to 2^3. But if I have 3 things, 2 of which can be in 2 states and the other in 3 states, what's the simplest expression that will accurately compute the permutationjs possible?
6
3682
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
0
9563
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9386
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10145
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9998
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8822
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5270
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.