dodgyJim Posted March 28, 2006 Share Posted March 28, 2006 Hi all,Having a few issues trying to work out the best way to set this db up.I am still fairly new to it all so maybe I am trying to analyze this too hard...you know, can't see the forest for the trees etc.[b]General Product Data[/b]Product Name - varcharHeight - varcharWidth - varcharSmall Image - varchar Large Image - varchar[b]Colour Options[/b]White - boolean (yes/no option only)Custom - boolean Anodised - boolean [b]Diffusers[/b]Clear Reeded - boolean Opal - booleanAluminium Louvre - booleanLow Brightness Louvre - boolean[b]Bends[/b]90 degree - boolean45 degree - booleanX Bend - booleanT Bend - booleanCustom Angled Bend - booleanMy initial plan was to stick it all into a massive table and enter in every product feature and hard code it to the page but then if the customer comes up with a new feature for a product I have to go back and add another field to the table and edit the page and queries etc. There's got to be a better way.My first thought was to have a product table with the basic info and then another table with the feature in it, then I could reference each item according to it's ID in a third table.tblproductidnameheightwidthetctblfeatureidcat_idnameimageetctbldataidprod_idfeat_idIf anyone has any ideas that could prod me along in the right direction it would be most appreciated.cheers. Quote Link to comment Share on other sites More sharing options...
wickning1 Posted March 28, 2006 Share Posted March 28, 2006 You're already heading in the right direction. It can become as complex as you allow it to become. Just be sure to stop somewhere so your software doesn't become vaporware. :) Quote Link to comment Share on other sites More sharing options...
dodgyJim Posted March 28, 2006 Author Share Posted March 28, 2006 [!--quoteo(post=359467:date=Mar 29 2006, 09:05 AM:name=wickning1)--][div class=\'quotetop\']QUOTE(wickning1 @ Mar 29 2006, 09:05 AM) [snapback]359467[/snapback][/div][div class=\'quotemain\'][!--quotec--]You're already heading in the right direction. It can become as complex as you allow it to become. Just be sure to stop somewhere so your software doesn't become vaporware. :)[/quote]Yeah since my first post I have been playing with it a bit. Slowly sarting to get somewhere. Got a new requirement that is giving me a headache...time will tell! :)Thanks for the reply. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.