Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Adding Data to Four Cascading Combo Boxes
David Torrey de Frescheville 
     
14 months ago
So, in Richards video for cascading combo boxes, he states to add functionality so a user can add data (such as a new city to a state) to create a single form for the state and a continuous form for the city,and then put the city form as a subform in the state form. I did this and works great. However, I have two more values to add and the video only discusses 2. How do I create this for FOUR Cascading Combo Boxes? I'm including pics of what I have created. I need the USer to be able to add after the State, a County, then Township, then Municipality. THANK YOU!
David Torrey de Frescheville OP  @Reply  
     
14 months ago

David Torrey de Frescheville OP  @Reply  
     
14 months ago

David Torrey de Frescheville OP  @Reply  
     
14 months ago
The first image shows the FORM view of the State form with the Subform for the County. The second show the DESIGN views for the state form and the contnuous subform. How do I now add the Township under the County and the Municipality under the Township? Thanks!
Richard Rost  @Reply  
          
14 months ago
For this case, I would just use synchronized subforms and have the next subform be synchronized under that one. Or, don't use subforms and just use combo boxes that you can add items to with a list items edit form or an on not in list event. There's lots of different ways you could do this.
David Torrey de Frescheville OP  @Reply  
     
14 months ago
Thank you! I will let you know how I resolve this! Your last suggestion sounds very simple! Thank you!
Richard Rost  @Reply  
          
14 months ago
My last suggestion, the on not in list event, is actually the hardest one, LOL. Multiple combo boxes with a list items edit form would probably be the easiest way to do it, but not the best. Synchronized subforms would probably look the coolest, but that would involve probably the most work.
Richard Rost  @Reply  
          
14 months ago
Oh, I forgot one more option. You could use nested subforms. That might actually be the easiest method.
Thomas Gonder  @Reply  
      
14 months ago
I'm curious, what state has a township above a municipality?
I'm used to neighborhoods, districts, or communities being below a municipality, or a county if they are in an unincorporated area of a country.
Would you provide an example please?
Richard Rost  @Reply  
          
14 months ago
Growing up I lived in the state of New York, county of Erie, Town of Hamburg. I didn't live in it, but there was also a Village of Hamburg inside the town.
Thomas Gonder  @Reply  
      
14 months ago
Was the Town of Hamburg a township or a municipality/city?
What was the Village of Hamburg's hierarchical description?
I got info from ChatGPT that there are places with township between county and municipality that are legal/government entities.
I've never lived in one of those places.
Great, now I've got two days' work fixing the Geo hierarchy to 18 levels in the ADS. Aggghhhh!
Thomas Gonder  @Reply  
      
14 months ago
ChatGPT to the rescue again, it it's correct NY uses "Town" instead of "Township" for something between a city and a country.
Double Aggghhh!
Thomas Gonder  @Reply  
      
14 months ago
I'm curious what David's going to do when he enters in states like California that don't have a "Township".
Richard Rost  @Reply  
          
14 months ago

Thomas Gonder  @Reply  
      
14 months ago
Oh boy, in researching this deeper, I had to add two new levels for the known universe to handle US states and all countries.
Schema below:
Thomas Gonder  @Reply  
      
14 months ago

Richard Rost  @Reply  
          
14 months ago
You forgot quadrant and sector.
Thomas Gonder  @Reply  
      
14 months ago
Ha ha. That's Star Trek, not the real world of astronomy.
But somehow I knew that comment was coming.
Thomas Gonder  @Reply  
      
14 months ago
Just a quick comment for those that are designing their own geographic tables. People often confuse postal or zip codes with other methods of defining geographies. There are many like census, political boundaries, and various confusing government ones that step all over each other from climate to demographics. Add to this the variety of private methods for polls, popularity and usage tracking. It can be a nightmare. ISO standards help, but only to a certain level.
Thomas Gonder  @Reply  
      
14 months ago
Did you notice I left a hole with ID 401? Yep, I'm ready for when someone goes beyond the known universe into other dimensions. You know, all the stuff that Trekkies love, but for real.

I think I'll be long gone before that happens, but I'm thinking of you carrying on with the ADS.
Thomas Gonder  @Reply  
      
14 months ago
ADS = Advanced Development shell (for Access)
I'm so glad that when I came up with this 45 years ago that I didn't include a word that begins with the letter "I".
It would have never got off the ground as no one would have ever touched it.
Thomas Gonder  @Reply  
      
14 months ago
I just spent two days going around and around with ChatGPT on townships and the hierarchy of earth to the Cosmic Web. It kept changing its answers and correcting inconsistencies. So if you see an error in my prior posts, yes I know. I hope I've got the database correct now on these. Good grief.

@David if you're going to use your 4 tables in something other than just the definitions, like a customer table, you're going to have to figure out a way to skip levels if you want a hierarchy, because it seems cities often bypass township to the county level, and states like California don't have townships. In the image below, you can see that I've skipped around levels (column 2) 420, 417, 416, 406, 403 because they don't apply to my neighborhood on up.
Thomas Gonder  @Reply  
      
14 months ago

Thomas Gonder  @Reply  
      
14 months ago

David Torrey de Frescheville OP  @Reply  
     
14 months ago
Hi Thomas - WOW. I just saw all these responses. I moved here from CA so was very confused when I would pass a sign that said entering "Town of Ithaca" and then drive further in ward and see a sign that said entering "City of Ithaca." Best way to explain it is this: Townships in New York are 1 form of organization below a county. Each County has several townships. Within a Township are multiple "localities." I should have used "localities" instead of municipalities. A locality can be incorporated or unincorporated. Unincorporated would be a HAMLET, CROSS ROADS, etc. and they have no mayor. Incorporated would be a city or village and they do have mayors. The difference between a City and a Village is Cities have their own charters, Villages do not (doesn't have anything to do with population size).  Every township has a SUPERVISOR. I hope this helps clarify it.
David Torrey de Frescheville OP  @Reply  
     
14 months ago
Richard - I have not resolved this yet, the database had some other issues I tried to resolve first. I am getting back to this shortly.
Thomas - I really like your table. And right now, I am not worried about other states. I'm only working in New York right now and I'm still learning about designing databases. I will cross that bridge when I get to it. I have a very specific purpose for this database in New York and it needs to follow that convention. Thank you!
Richard Rost  @Reply  
          
14 months ago
This would make for an interesting video. I'll put something together.
David Torrey de Frescheville OP  @Reply  
     
14 months ago
That sounds great Richard! Can't wait! Hopefully I will have that resolved before then, too! Thank you

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/2/2026 9:57:00 AM. PLT: 0s