473,383 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

database Question..


hi everyone..

i have a situation, there are two drop down list, 1)Car Model 2) Car
Colours. A set of specific colours would fill up the second dropdown list
based on the Car Model choosen on the first drop down list.

my question is how do i create a database table that enables me to
extract the specific colours based on the car model chosen?.How to create
database to accomodate this kinda specific info?

hope to get some feedback here.thank you.
Jul 21 '05 #1
2 1109
Of course a relational database like MSDE would do, but I suppose that's
oversized. If there are just two tables which do not change I would use an
XML textfile like
<car>
<model>xyz</model>
<color>pink</color>
<color>blue</color>
</car>

It's not very sophisticated but probably the fastest solution.

"dcinfinite" wrote:

hi everyone..

i have a situation, there are two drop down list, 1)Car Model 2) Car
Colours. A set of specific colours would fill up the second dropdown list
based on the Car Model choosen on the first drop down list.

my question is how do i create a database table that enables me to
extract the specific colours based on the car model chosen?.How to create
database to accomodate this kinda specific info?

hope to get some feedback here.thank you.

Jul 21 '05 #2
DCInfinity.

I assume you want to have a limited table with colors, therefore why not
just in the database as a simple table. It is than simple to maintenance
because it is in one database.

Be aware that when you use this in a combobox, to set the comboboxstyle to
dropdownlist style. Because when the colors can be edited with this, than my
expirience is that it surely goes wrong in VS2002/2003.

I hope this helps?

Cor
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Lee | last post by:
Hi, I'm developing a socket program to connect to Informix database through the ODBC. In here i called my socket program as "tap" . My tap will listen for data from unix through port 1070. After...
8
by: Inspector | last post by:
I'm hoping I might be able to pick someone's brain out there. Our company is currently running an inhouse application in which data is being stored in SQL. Included in this data are thousands...
29
by: MP | last post by:
Greets, context: vb6/ado/.mdb/jet 4.0 (no access)/sql beginning learner, first database, planning stages (I think the underlying question here is whether to normalize or not to normalize this...
2
by: clinttoris | last post by:
Hello, If someone could help me it would be appreciated as I am not having much luck. I'm struggling with my asp code and have some questions relating to asp and oracle database. First...
5
by: Slant | last post by:
Here's a question that most will have different answers to. I'm just dying to find a solution that seems halfway automated!! There really are two seperate issues which might be answered by the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.