If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Creating Lookup Field Between Two Tables
I have a main table with about 5000 records of companies I may want to do
business with. Now I've created another table showing the differences in the business practices of the companies. I'd like to be able to lookup the company name and information in table one by ID number rather than retype it for table two. I know there is a way to create a lookup table in table two in order to look it up and select the applicable ID number but I've tried using the Wizard and I'm getting nowhere. HELP! Thanks, Ron |
#2
|
|||
|
|||
Creating Lookup Field Between Two Tables
You need to create forms based on your table(s) or queries. Then, you use a
combo box which has a wizard that will walk you through the setup. Duane Hookom MS Access MVP "Ron Wells" Ron wrote in message ... I have a main table with about 5000 records of companies I may want to do business with. Now I've created another table showing the differences in the business practices of the companies. I'd like to be able to lookup the company name and information in table one by ID number rather than retype it for table two. I know there is a way to create a lookup table in table two in order to look it up and select the applicable ID number but I've tried using the Wizard and I'm getting nowhere. HELP! Thanks, Ron |
#3
|
|||
|
|||
Creating Lookup Field Between Two Tables
In addition to Duane's advice to do this in a form, let me add, don't do
this in the tables! You'll find a strong consensus in this newsgroup against the use of the "lookup" data type in tables, for a couple reasons. First, using it hides the actual value stored and gives you the impression that the looked up value is being stored. Second, it encourages you to use the tables directly. Access tables store data. Access forms display data. Use the forms, Luke! -- Regards Jeff Boyce Microsoft Access MVP Disclaimer: This author may have received products and services mentioned in this post. Mention and/or description of a product or service herein does not constitute endorsement thereof. Any code or pseudocode included in this post is offered "as is", with no guarantee as to suitability. You can thank the FTC of the USA for making this disclaimer possible/necessary. "Ron Wells" Ron wrote in message ... I have a main table with about 5000 records of companies I may want to do business with. Now I've created another table showing the differences in the business practices of the companies. I'd like to be able to lookup the company name and information in table one by ID number rather than retype it for table two. I know there is a way to create a lookup table in table two in order to look it up and select the applicable ID number but I've tried using the Wizard and I'm getting nowhere. HELP! Thanks, Ron |
Thread Tools | |
Display Modes | |
|
|