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

Combo Box Problem

Status
Not open for further replies.

uncgis

MIS
Apr 9, 2004
58
US
I have a combo box that pulls the value from the database. But, whenever the value is a string (eg. Bob Jones)..it will only capture Bob.

<Select Name = "Name" value ="<%=session("Name")%>">
<Option Value = <%=rsAddComments("Name")%> selected> <%=rsAddComments("Name")%>
</select>

But...if I type in Bob Jones into the value and not pull it from the database...it works fine.

Thanks for any help

 
should look something like this...
<option value="your value">valuename</option>

-DNG
 
Thanks for the help.....that works like a charm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top