V
vroedie
Hi,
I'm currently building an Inventory DB for entering HW and users. In
the DB I have created a form to define hardware. For this form I've
created several tables where I've defined Type, Brand, Line, Model, CPU
and RAM. On the form I've made combo boxen and linked them to these
tables. Now I would like to make the choices of these boxes dependent
of each other. I think I'll manage to create a requery statement, but
I'm a bit confused on how I should build the tables.
What they look like now:
Tbl_Type:
ID
Type
Tbl_Brand
ID
Brand
Tbl_Line
ID
Line
Tbl_Model
ID
Model
Tbl_CPU
ID
CPU
Tbl_Ram
ID
Ram
What I would like to do is:
When I select a value from Type
Laptop
I want to display hardware brands of laptops
Dell
IBM
When I select a brand
Dell
I want to display only the laptop lines of this brand
Latitude
Inspiron
Then I want to display the different models of this line
D600
D610
Then follows the CPU speed and amount of RAM in the same manner.
I hope someone can enlighten me.
Regards,
Jeroen
I'm currently building an Inventory DB for entering HW and users. In
the DB I have created a form to define hardware. For this form I've
created several tables where I've defined Type, Brand, Line, Model, CPU
and RAM. On the form I've made combo boxen and linked them to these
tables. Now I would like to make the choices of these boxes dependent
of each other. I think I'll manage to create a requery statement, but
I'm a bit confused on how I should build the tables.
What they look like now:
Tbl_Type:
ID
Type
Tbl_Brand
ID
Brand
Tbl_Line
ID
Line
Tbl_Model
ID
Model
Tbl_CPU
ID
CPU
Tbl_Ram
ID
Ram
What I would like to do is:
When I select a value from Type
Laptop
I want to display hardware brands of laptops
Dell
IBM
When I select a brand
Dell
I want to display only the laptop lines of this brand
Latitude
Inspiron
Then I want to display the different models of this line
D600
D610
Then follows the CPU speed and amount of RAM in the same manner.
I hope someone can enlighten me.
Regards,
Jeroen