"Rosflurg" <(E-Mail Removed)> wrote in message
news:35B30567-7D60-4745-9EB7-(E-Mail Removed)...
>I am making a database and i have a dropdown list in my table, in this list
> are values of another table. based on the value selected in this list i
> want
> to change the values of the next dropdown list.
>
> example:
> when the first dropdown list contains : Audi | BMW | Ford
> I want the next dropdown list to display only the models of the selected
> car.
>
> Any help on this one?
Just to get you started,
You need (at least 2) Tables:
Manufacturers
==========
ManufName
------
BMW
Ford
....
....
Models
ManufName Model
Ford Focus
Ford Mondeo
BWM 316
BMW 530
....
....
The First Dropdown list would be based on the Manufacuters Table.
The Second would be based on a query on the Models Table:
Select * from Models WHERE ManufName = ddlManufacturer.Text
Cheers,
Chris.
|