J
|
Jane 8/4/2008 |
Hi, |
S
|
sfhussain author 8/4/2008 |
Hi, you can create this dropdown manually using custom events (as you've done on the list page) or use advanced search.
|
S
|
sfhussain author 8/4/2008 |
Hi, you can create this dropdown manually using custom events (as you've done on the list page) or use advanced search.
str = "" str = "<select onChange=""java script: document.location='south_Report_report.asp?a=search&value=1&SearchOption=Contains&SearchField=ticket_date&SearchFor='+this.options[this.selectedIndex].value;"">" str = str & "<option value="">Please select</option>" strSQL = "select ticket_date from south" Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open strSQL,dbConnection while not rstmp.eof str = str & "<option value=""" & rstmp("ticket_date") & """>" & rstmp("ticket_date") & "</option>" rstmp.MoveNext wend rstmp.close set rstmp=nothing str = str & "</select>" Response.write str
|
J
|
Jane 8/4/2008 |
Hi, |