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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update Combobox values based on another Combo 1

Status
Not open for further replies.

robrichardson

Programmer
Joined
Mar 14, 2001
Messages
86
Location
GB
Hi

I've an ASP page which contains two forms. Both forms contain a combo box.

The first combo contains a list of all users, the second (initially) contains a list of all properties. At first the user may select either user or property and get a list of data correspoding to either selection.

I would like to introduce a button which when clicked will take the value selected in the first combo and populate the entries in the second box to match only that users properties.

I think I need to update the recordsets source. i.e.

The second box (before click)

SELECT * from Property

after click

SELECT * from Property WHERE User= first combobox value

Hope that makes sense

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top