×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Database Structure Question (Access2000)

Database Structure Question (Access2000)

Database Structure Question (Access2000)

(OP)
I have a table (access2000) that stores employee information, and it uses lookup tables to classify what craft, region, business unit, etc. that the employee is in.

in these lookup tables, should I have some kind of unique primary key? or is that not necessary to the functionality of databases in general or Access?

Thanks

RE: Database Structure Question (Access2000)

Of course you must use an unique primary key.

Let say you have in your craft look up table the following

  type          skill
---------------------------
carpenter     2nd grade
welder        2nd grade
welder        1st grade
mechanic      3 rd grade


If you have a look-up on type, which welder the database must asume? Your reference must be unique

S. van Els
SAvanEls@cq-link.sr

RE: Database Structure Question (Access2000)

(OP)
In the case where I have customized lookup fields, I can see a need for having a primary key to make my lookup table entries unique, but how about in the case of a lookup for... say... State? as in address info of an employee?

Should I have a seperate lookup table? or just define the combo box with the state letters?

RE: Database Structure Question (Access2000)

If you have information that is not likely to change, use the validation option in the field. In case of state I would use a look-up table. A combo box can be filled at run-time from a query.

S. van Els
SAvanEls@cq-link.sr

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close