Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Location
    Iowa
    Posts
    1

    Lookup Tables


    It's been nearly five years since I've done anything in Access, so needless to say, I'm a bit rusty. I might even be using some terms incorrectly but I'll do the best I can.

    What I'm attempting to do is set up a few different fields that use lookup tables to help populate the fields. I'm running in to a problem when I want to allow the user to enter information that isn't in the lookup tables. For instance, I'm currently working on a database that stores information about customers and their vehicles. In my Vehicle table I have a field labeled Fuel Type that links to a table that currently has two options, Gasoline and Diesel. If at some point in the future I want the user to be able to enter 'Hydrogen' into the Fuel Type field and have it stored in the Fuels table, how do I go about that? Right now I can enter Hydrogen in the Fuel Type field but it doesn't store the new record in the Fuels table.

    How can I get the new value to be stored in the lookup table when the user types it into the main table? I feel like I've done it before but for the life of me I just can't find the answer anywhere.

  2. #2
    Join Date
    Sep 2006
    Location
    Manchester, England
    Posts
    13
    It depends how you want to do it but typically Iput a little plus or add button which pops up a text box to allow the user to enter the new value.
    This then adds it to the table and I refresh the drop down.

    If you are working with a normalised database these should only realyl relate on an ID number.

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

Similar Threads

  1. Lookup Form
    By virgiljones in forum Access
    Replies: 0
    Last Post: 10-17-2008, 10:39 PM
  2. lookup values in backend tables
    By deb56 in forum Database Design
    Replies: 1
    Last Post: 01-23-2008, 11:12 AM
  3. Replies: 1
    Last Post: 07-06-2007, 08:27 AM
  4. Lookup Form
    By cav0227 in forum Forms
    Replies: 0
    Last Post: 04-16-2007, 09:23 AM
  5. Lookup
    By neon'00 in forum Forms
    Replies: 2
    Last Post: 04-14-2007, 01:19 PM

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