Login|Contact Us
Question and Answer

Microsoft Office

Ask a Microsoft Office Question, Get an Answer ASAP!

  • Ask A Question
  • Browse Answers
  • Meet The Experts
  • How JustAnswer Works

Access Database 2010--I am creating a database with forms to

 

Customer Question

Access Database 2010--I am creating a database with forms to ease input of data. I am using lookup tables to create dropdown lists of values to choose from, and other values not in the drop down list maybe entered in the table that is referencing this lookup table. The list may change through the years so it will reflect the values chosen most often during that season of time. Question: is there any need to have a primary key field in the lookup table? There is only one field in the table. There is no reason for uniqueness--the records in the lookup table only provide possible choices for storage in a field in a "Client" table that does have unique records. All uniqueness is in the Client table and the values stored in that table's fields. Prefer to chat answers rather than e-mail back and forth if that works for you.

 



Already Tried:
I began by not having any primary keys in my lookup tables. But since 1)I am not yet to the stage of testing the joins with fake and real data and 2) There are many lookup tables to change--I'd rather not change them all if it isn't necessary and if it will complicate future changing of the lookup table values displayed in the forms.

Submitted: 337 days and 2 hours ago.
Category: Microsoft Office
Value: $19
Status: CLOSED

Accepted Answer

Picture
Expert:  weshouck replied 337 days and 1 hours ago.


weshouck :

Hi, I can help answer your question.

weshouck :

You don't need a primary key for your lookup field as you describe it.

weshouck :

The primary key comes in handy when you want to change the words in the Lookup field and are linking by primary key. This way all the entries get changed instead of having to change all rows in the table.

weshouck :

Example:
Primary key: None
Lookup: My Client Name

weshouck :

If you wanted to change the lookup later on to "My Client Full Name" you can, however, you will then need to change the text in all your client table since it's not linked by primary key. If you had a primary key linked to the lookup, you would just change "My Client Full Name" in one place and it will automatically show the correct data in the client table.

weshouck :

The primary key is usually an auto incrementing number that you don;'t have to worry about.

Customer :

Thank you, that clarified the "when" to use a primary key.

Expert TypeInformation Systems Manager
Category: Microsoft Office
Pos. Feedback: 94.4 %
Accepts: 47
Answered: 5/7/2012

Experience: Microsoft Office Specialist

Ask this Expert a Question >
 
Tweet

9 Microsoft Office Technicians are Online Right Now

Ask Your Question Now
Ask A Microsoft Office Technician
Type Your Microsoft Office Question Here...
characters left:

Top Microsoft Office Experts

See More Microsoft Office Technicians

In The News

Nbc
Washington Post
New York Times
Cnn
Learn More

How It Works

  • Ask an Expert
  • Get a Professional Answer
  • Ask Followup Questions
  • 100% Satisfaction Guarantee
Learn More
close
Find Expert answers related to your question.
Sign up using email
We will never post anything without your permission.
Already have an account? Sign in

Ask a Microsoft Office Technician

Get a Professional Answer. 100% Satisfaction Guaranteed.
242 Microsoft Office Technicians are Online Now
Type Your Microsoft Office Question Here...
characters left:
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.
Truste
Contact Us | Terms of Service | Privacy & Security | About Us
© 2003-2013 JustAnswer LLC