473,385 Members | 1,764 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,385 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 1111
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.