Creating Lookup Field Between Two Tables

R

Ron Wells

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
 
D

Duane Hookom

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
 
J

Jeff Boyce

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top