Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Home > Forums > Access Forum > Lookup tables by Franck Lerman
Back to Access Forum    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Lookup tables
Franck Lerman 
     
3 years ago
I have created a lookup table with the Country ISO Codes. This table contains the following fields (in order): CountryName, Alpha2Code, Alpha3Code, CountryID (indexed ISO Country Numeric Code).
In other table I would like a lookup field to lookup the information based on typing the country name and input the corresponding Alpha3Code field data of the corresponding row. For example: if one was to input "United States" in the lookup field, the table would input the Alpha3Code "USA".
Any one have any ideas on how to do that?
Thanks.
Juan C Rivera  @Reply  
            
3 years ago
Use DLookup to Look Up a Value from a Table
Gregory Clancey  @Reply  
    
3 years ago
I personally do this sort of thing all the time. Often, I create a continuous Form to display the "culled" data by developing (in VBA) an appropriate filter based on a selection from a ComboBox. Another approach (have you toyed with this?) is to create a Query that selects a subset of the table's records conforming to your specs which could then be used as a RecordSource to which your database Forms may be bound.
Scott Axton  @Reply  
      
3 years ago
This is very similar to putting in the USA Zip Code and having it fill in the City and State.  I don't know of any reason that your data couldn't also be included.
Check out the ZIP Code Lookup
Juan C Rivera  @Reply  
            
3 years ago
Good call Scott I had to go back and view the video....
Scott Axton  @Reply  
      
3 years ago
Juan two ways of skinning a cat.  Both get the job done.

Franck - Another way I can think of is to make a combo box out of the country name.  Then on choosing a specific country fill in the code.  Like Richard says, "There is a million ways to do things.  It just depends on how you put the Lego pieces together."
Franck Lerman OP  @Reply  
     
3 years ago
Thanks for the tips. Genius. Away from my computer until Monday, however, will look at the video in more detail when I get back.

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

Next Unseen

 
 
What's This?

 

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: 9/30/2026 4:52:44 AM. PLT: 1s