Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box

Status
Not open for further replies.

Hirameck

Programmer
Aug 7, 2003
3
0
0
ZA
Hi!
I need to ad three combo boxes wich are linked to another to a form.If your select first box the second box should automatically be linked.

e.g. First box: Second box: Third box:
- House ------- Rooms ---------Blue
---------White
---------Red

------- Roof ---------tiled
---------painted
- Garden------- Flowers---------?
---------?
THANKS

 
In the OnClick event of the second box you should have:

If firstbox = house Then
secondbox.RowSource = "Put a query here"
Elseif firstbox = garden Then
secondbox.RowSource = "Put another query here"
End If

You can do the same type of thing of the third box too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top