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

Using a combo box to list specific records on page

Status
Not open for further replies.

Stretchy

Programmer
Mar 26, 2002
87
GB
Hi.. I have a list of all press releases for my company in a database with various meta-data. I can call them all to appear on a web page but i would like the user to be able to browse for specific content. I have a combo box filled with all the story categories. I would like the web page to update when the pick a choice from the combo box.... i.e they choose to see releases about Environmental Health, the only press releases that appear on the web page are Environmental Health..... this is prolly as clear as mud but I hope sum1 can help me [thumbsup2]
Thx _______________
Stretchy
 
On the drop down's selected index changed event, just have code that grabs some identifier of the choice they made, stick that into a db query that will only get records associated with that choice, and then display the choices on the page however you want.

:)
Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top