Results 1 to 2 of 2
  1. #1
    corinthianw is offline Novice
    Windows Vista Access 2003
    Join Date
    Feb 2010
    Location
    San Benardino, CA
    Posts
    1

    Lookup Tables


    I haven't used Access extensively and I'm currently in the process of building my first database. Someone suggested I use a lookup table to make it easy to complete the forms and keep the database semi-normalized. I was told to put options for multiple fields in one Lookup table with a group id for each field, then build a group lookup table. The person that suggested this has since left and my db is in limbo. Previous to leaving, it was suggested to find a way to have a form use the group lookup table then pull the values from the larger lookup table based on the group id. I am also having probems with my primary key. I have one form filling out multiple tables. I have the persons ID number as the primary key in all the tables. Is there a way to make it so the person inputting the data only has to put the ID number in the form once? Any help would be greatly appreciated. Thanks, Cory.

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    Access offers a LookUp as a field type in a table. Some pros avoid them because they mask the true relationship between tables (if this point isn't obviously clear do not worry about it...)..but that can be quite helpful. Here is an example; the list of 50 states 2 letter initials NY NJ etc.... put them in a Table StatesAbbrev... a 1 field table - no key. .....then in whichever table you are putting address make a State field and define it as a lookup and the wizard will help point you to the StatesAbbrev table.

    If you keep it this simple - and just to streamline putting in text - it works fine.

    In regard to your primary key; entering it multiple times in separate tables in one form; what you want to do is designate the form to be bound to one table - - and then insert the other tables into the form using the Subform icon; when you do so it will launch a wizard that will prompt you as to which field is the cross referencing key - - - once that is set up then the key is entered automatically for you whenever you put in any data into the subforms....

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Many To Many lookup
    By todavy in forum Forms
    Replies: 0
    Last Post: 12-15-2009, 09:27 AM
  2. Microsoft Access Lookup tables
    By bitert01 in forum Forms
    Replies: 1
    Last Post: 02-20-2009, 02:55 PM
  3. lookup values in backend tables
    By deb56 in forum Database Design
    Replies: 1
    Last Post: 01-23-2008, 11:12 AM
  4. Replies: 1
    Last Post: 07-06-2007, 08:27 AM
  5. Lookup Tables
    By JoeBio in forum Database Design
    Replies: 1
    Last Post: 09-01-2006, 07:34 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums