473,738 Members | 3,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cascading ComboBoxes

7 New Member
...You're fast! I appreciate that.

Thanks! I look forward to your explanation.

One last problem I have on my form is getting all of my comboboxes to update each other. I know how to update them as a cascade (i.e. Region updates Country which updates State which updates City) but I would like them to be interdependent (i.e. if I select a City, I want the Region, Country, and State comboboxes to populate with the corresponding data. Hoping to get this effect when I select any of these given boxes.

For ease of understanding, let's assume these are all of my comboboxes which correspond to a field of the same name, sans "com":
comRegion
comCountry
comState
comCity

Thanks again. You're a pro.
Nov 19 '09
16 2391
ajalwaysus
266 Recognized Expert Contributor
@topher23
Also, more proof of that, you should look at the algorithms page. Those guys are so over my head, but it is just more proof of the kinds of smarts this site has attracted =) Amazing!

-AJ
Nov 20 '09 #11
OldBirdman
675 Contributor
...it is my mistake for not providing my actual scenario but please take my word for it when I say that my DB and fields cover a topic that is not widely known or understood.
I don't know why you assume we can't understand your actual problem. I'm not sure that you do either, or your 'example scenario' would have mirrored the real problem, which it apparently did not.

I don't see where anybody asked you "why?" True, nobody wrote any code, but that is because we needed to see where you were going with this, and have table names and relationships, etc.

In my database and on my form it is more of a common occurrence for the user to know the last value but not the preceding three (or any combination of each). This would be like the user not knowing the country or state, so they enter the city and the other boxes populate based on the city entry. This scenario is more likely in my actual case than this example.
I have a database with a heirarchy based on the taxonomy of Linnaeus, which contains the (Latin/scientific) names of all the birds and some of the other animals. Very few users know the higher levels. Your problem is not unique.
Nov 20 '09 #12
Tarheel
7 New Member
Please stop obsessing over the faults in my post. I didn't post my exact field names. It doesn't matter. I clearly explained that I had a hierarchal order but I wanted the comboboxes to populate each other no matter what order they were selected. I said I appreciate your comments and have moved on, but you still seem to want to critique my methods.
Nov 20 '09 #13
topher23
234 Recognized Expert New Member
As Experts or helpers of any other sort, we expect that people asking for help will be 100% forthcoming. Those who are not cause a lot of frustration. We are simply expressing that you have caused frustration in not being completely up-front about your problem, instead couching it in "something you people would understand." Such an attitude borders on arrogance, and is really annoying to people who are just trying to help.

If you want help, we're happy to help. If you want to complain about the way people are treating you, please think about the way you're treating them with that sort of attitude.
Nov 20 '09 #14
Tarheel
7 New Member
I'm sorry if you took my tone as arrogance, but I didn't mean it that way. I am certainly not complaining about the way anybody treated me. I simply just believe that too much of everyone's time was used discussing topics that don't matter. That is why I'm trying to end this conversation, but I sincerely don't want any of you to think I was trying to be arrogant or rude. I honestly do believe that you all are doing a great service and am very appreciative. I'm sorry it is very hard to convey tone and attitude when writing short posts online. I just tried to save some time by using a simple scenario and explaining my situation in English rather than code. I never said it is "something you people would(n't) understand" and was polite as can be. If anybody took this as offensive, then I apologize, but try to take these things with a grain of salt.
Nov 20 '09 #15
topher23
234 Recognized Expert New Member
Your contrition is appreciated. Now, before we let you pass, we desire... a shrubbery!
Nov 20 '09 #16
NeoPa
32,569 Recognized Expert Moderator MVP
Tarheel,

May I just say that, although you possibly hit a tender spot there with how you replied on the one occasion, I congratulate you on the tone of your responses since then.

Our experts do sometimes have to deal with the downright obnoxious behaviour of some posters (yours was far from that), so it is certainly understandable to me that they may sometimes unload a little. I think you may have been the unlucky straw on the camel's back on this occasion, but I'm glad to say you handled it perfectly. Very few people realise how complicated it is trying to answer questions via such an inflexible medium such as a forum site. It's frequently frustrating to find questions that could be answered if only the question were phrased more clearly (and I appreciate you put time & effort into making it as clear as you could. I'm just explaining from the perspective of the other side).

Anyway, I'm also pleased that you asked your question just for the insight I was able to get from OB's post #4. It's not something I use a lot myself, but the points he made there seemed very important and a lesson for all (at least many) of us.

Now, have you sorted out that shrubbery yet :D
Nov 21 '09 #17

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

Similar topics

1
2016
by: JMosey | last post by:
Not sure if this has been covered ( a google search came up pretty bare). I have a site that: - has multi-level cascading menus - floats center of the browser window - Will have fairly heavy Safari and Firefox views (~25%) Finding a cascading menu is easy, I trip over about half a dozen of those a week. The problem is when you maximize on a big screen in
4
1968
by: Kathy | last post by:
In my custom menu one menu item opens a form to add new Makes to TblMakes and another menu item opens a form to add new Models to TblModels. I have a form that has a combobox for Makes and a combobox for Models. In both comboboxes I use the NotInList event and code to allow users to enter Makes and Models that are not in the database. When the form is open, I want to limit the users to entering new Makes and Models in the comboboxes and not...
0
2076
by: cognoscento | last post by:
I'm currently putting together a database for my work (not an expert by any stretch, so muddling through as best as I can... you know the story...) and I could use some advice and hand-holding I've got a subform with a series of cascading combo boxes (thanks to the Access tutorials on fontstuff.com) that let the user assign categories to items, in this case photos. This is being done to help constrain user selections and keep the...
4
7823
by: pmcguire | last post by:
I have 2 bound ComboBoxes. I want the datasource of the second to be limited by the selection made in the first. I can do this by responding to the SelectionIndexChanged event on the first, but this results in the BindingContext's Current.Row.Rowstate becoming 'Modified' whenever the BindingContext position changes. What is the RIGHT way to go about this? Thanks, -- Pat
6
2086
by: visionstate | last post by:
Hi there, I am building a database that requires cascading lists on a form. I currently have (I may be adding more later) 3 combo boxes on my form - Department, Surname and Forename. The user chooses the department they want and then the corresponding surnames from that department can be chosen from the Surname box and then the Forename depending on which Surname they chose. I then have a command button which produces the results of the...
19
2323
by: Amanduh | last post by:
Hi again, brilliant developers. I'm having serious issues with cascading comboboxes. I had it working perfectly before, but then was asked to add an additional variable and everything went haywire (surely due to my incompetence). I've printed out Rabbit's tutorial and read it many times, but like others, I feel I need a more elementary approach. Please let me explain: I'm creating a database for entering information for research studies. ...
4
3495
klarae99
by: klarae99 | last post by:
Hello, I am working on an Access 2003 Database. The tables that pertain to this issue are tblOrg, tblState, tblCity, and tblZip. I have posted the table structure with only the pertinant fields below. tblOrg OrgID, AutoNumber, PK ZipID, Number, FK tblState StateID, AutoNumber, PK
12
1724
by: azalea45 | last post by:
Hi all I am a newbie when it comes to access. My company requires that all Databases run on the company SQL back-end as a result i have a Access project that connects to the server. I have two tables, table 1 called tblProjectDetails, table 2 called tblLearners The fields in tblProjectDetails are ProjectPK numeric (Its also the Primary Key)] Name char (50) Description char (50) There are other field but they dont play a role in the...
16
10611
by: AFSSkier | last post by:
I have several cascading ComboBoxes & would like to close Cbo2 & open Cbo1 when there is an error. These CboBoxes are on an Excel spreadsheet, not a UserForm. I have the following code, if the Dropdown is opened it requeries Cbo2 to ListIndex = 0. But I also want it to close (unselect, undrop list) Cbo2 & open (select, dropdown) Cbo1 on MsgBox error. This insures the user selects property of Cbo1 first. Private Sub...
0
8968
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
8787
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
9334
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
9259
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
9208
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6750
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4824
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
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 we have to send another system
2
2744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.