UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Normalization question - Repeating one or 2 values    
 
   
Dpinion
post Feb 1 2006, 02:50 PM
Post #1

UtterAccess Ruler
Posts: 1,208
From: Georgia, US



Greetings,

I have a form that I am working on that is going to have a combo box on it. In the combo box will be 2 choices, ECO or PPC. It seems to me that instead of storing the same value for multiple records in the same table (causing redundancy?), I might want to put these in a table by themselves and link with an ID. Is this the proper way to do it, or should I just stick the actual value in the main table (tblECO).

Thanks
Go to the top of the page
 
+
dashiellx2000
post Feb 1 2006, 02:54 PM
Post #2

UtterAccess VIP
Posts: 9,209
From: Maryland



What you should have is an ECOPPC table and put the PK into the main table.
Go to the top of the page
 
+
NoahP
post Feb 1 2006, 03:24 PM
Post #3

Retired Moderator
Posts: 10,493
From: Lexington/Louisville KY USA



I use lookup tables for everything. You never know when you might need to add an additional option to the choices available. If it's not in a table and you're using a combo box, every instance of that combo box in every place it's used will have to be updated to include the new option. If it's in a table, you just have to add another record.

I use tables because of getting bitten too many times with people telling me "oh there will NEVER be more options than just these X". Where x = the number that changed 2/3rd's of the way through development. It's just one extra join and can potentially save lots of work down the road.

Noah
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 25th May 2013 - 06:22 AM