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 
Related List Boxes
John Davy 
          
4 years ago
Hi, I created 3 related list Boxes StateListBox, CityListBox and ZipListBox It works but a little rough, so here I am.
First, I need to empty the ZipListBox when I select a different State. In addition, I am not sure how to let the user add a new city or Zip if one is needed. Should I use 1 form to precede the update? I did this with related combo boxes but having a little difficulty with List Boxes.
The tables are now related properly with referential integrity.
Simply put - the user selects a State and the Cities in that State populate the CityListBox and that in turn populates the ZipListBox with the zipcodes for each city.


Thanks
John
Kevin Robertson  @Reply  
          
4 years ago
Cascading Combo Boxes

As for adding records, I like to use an Inputbox with a Recordset if it is only a single field that needs to be added.

InputBox is covered in Developer 3
See Developer 18 for adding and Editing records using a Recordset.
Scott Axton  @Reply  
        
4 years ago
John I know it is counter intuitive but you want to put in your zip code then have that populate city and state.

As a former mailer for over 19 years,  believe me it will save you tons of time.  Get the  ZIP Code Lookup Template  !!!
Worth it's weight in coffee but since you are a LC member you get an even better value.
Richard Rost  @Reply  
          
4 years ago
I sent you a free copy of the ZIP Code Lookup Template, John. That should help you out.

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/6/2026 12:36:45 PM. PLT: 0s