
May 31st, 2002, 07:33 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 23
|
|
<i><b>Originally posted by : sharjeel imtiaz (sharjeel_ii@hotmail)</b></i><br />check the property of listbox to multiple<br />check it .<br />cn.open<br /><br />then <br />open a recordset "tablename",cn,cursortype,lockingtype <br /><%<br />rs.open "select date from table where fieldname= '"& request.field("fieldname")&"'",cursotype,lockingtype<br />%><br /><form mehtod=post><br />take inputfield hidden <inputfield value="<%rs.field("date")%>"<br /></form><br /><%<br />rs.close<br />set rs=nothing<br />cn.close<br />set cn=nothing<br /><br /><br />------------<br />geniene at 5/29/2002 11:15:25 AM<br /><br />I have two list boxes that I have populated and two text boxes. The user has the option to select from both list boxes and enter two dates to query a sql database and display a resultset on another asp page.<br /><br />It works as-is, but I want to offer the capability to make more than one selection in the list box. I have the list box multiple property set, but can't figure out how to formulate the code to grasp more than one selection.<br /><br />Any help would be greatly appreciated, this is a college project and it's due today. 
|