PC Review


Reply
Thread Tools Rate Thread

Creating Lookup Field Between Two Tables

 
 
Ron Wells
Guest
Posts: n/a
 
      10th Feb 2010
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
 
Reply With Quote
 
 
 
 
Duane Hookom
Guest
Posts: n/a
 
      10th Feb 2010
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 (E-Mail Removed)> wrote in message
news:820A6334-2622-46F1-8FCD-(E-Mail Removed)...
> 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


 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      10th Feb 2010
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 (E-Mail Removed)> wrote in message
news:820A6334-2622-46F1-8FCD-(E-Mail Removed)...
>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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a lookup drop down menu for multiple data tables SLR3016 Microsoft Access Forms 0 24th Nov 2009 07:57 AM
Lookup field from linked tables - can it be done? Astrid Microsoft Access Database Table Design 2 30th Oct 2008 04:50 PM
Creating on-the-fly lookup tables in LINQ DaveD Microsoft C# .NET 1 9th Sep 2008 10:02 PM
Creating new records... despite lookup tables meanswell Microsoft Access 1 6th Jan 2006 08:33 AM
How do you generate a lookup field for tables with more than one field in primary key =?Utf-8?B?Um9iZXJ0IEdpbGxhbmQ=?= Microsoft Access Database Table Design 1 20th Apr 2004 04:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:59 PM.