A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Creating Lookup Field Between Two Tables



 
 
Thread Tools Display Modes
  #1  
Old February 10th, 2010, 06:16 AM posted to microsoft.public.access.tablesdbdesign
Ron Wells
external usenet poster
 
Posts: 1
Default 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
  #3  
Old February 10th, 2010, 02:10 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 1,555
Default 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

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.