Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Database Design

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-08-2006, 01:10 PM
Novice
 
Join Date: Jun 2006
Location: Iowa
Posts: 1
JoeBio
Default 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.
Reply With Quote
  #2  
Old 09-01-2006, 05:34 AM
Novice
 
Join Date: Sep 2006
Location: Manchester, England
Posts: 13
DanInManchester
Default

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.
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup Form virgiljones Access 0 10-17-2008 08:39 PM
lookup values in backend tables deb56 Database Design 1 01-23-2008 08:12 AM
Once query to lookup information in multiple tables Yanagowa Queries 1 07-06-2007 06:27 AM
Lookup Form cav0227 Forms 0 04-16-2007 07:23 AM
Lookup neon'00 Forms 2 04-14-2007 11:19 AM


All times are GMT -8. The time now is 10:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.