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!

How do I

Status
Not open for further replies.

zishan619

Programmer
May 28, 2003
284
0
0
MX
Hi:
I am using Interdev for my asp page. I am very new at this. So please help. I have a SQL statement that connects back to my SQL server database. In the SQL statement there is a WHERE statement that runs off the drop down box I have on the page. How do I place in that dropdown value into that statement everytime an analyst picks it. Once an analyst selects a value from the dropdown it produces a report from it.
Thanks
Z
 
you can either have client side code to submit or a submit button.

On the server something like this will work.

strSql = "select * from [mytable] where field= '" & request("myDropdown") &"'"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top