» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > ASP forums and Tips

ASP forums and Tips Talk about ASP Scripting. .net and Cold Fusion as well.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-10-2006, 02:09 PM
parrod parrod is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
parrod is on a distinguished road
Default retrieve multiple values

I have a difficult technical challenge I'm facing. I need to retrieve multiple values for the very bottom item in the list, 'Federated' (ignore the rest). The database will query based off the option 'value', however, in this special case I want to perform a retrieval based off of multiple of values. I want to try to use the existing code without reinventing the wheel.

<SELECT name="grpNm" style="LEFT: 8px; WIDTH: 213px; TOP: 1px">
<OPTION value="" selected>Select Group</OPTION>
<OPTION value="">All</OPTION>
<OPTION value="BANK OF AMERICA">Bank of America</OPTION>
<OPTION value="KIMBERLY-CLARK CORP">Kimberly-Clark Corp.</OPTION>
<OPTION value="EMORY">Emory</OPTION>
<OPTION value="FIELDALE FARMS">Fiedale Farm Corporation</OPTION>
<OPTION value="ROLLINS, INC.&qu -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-10-2006, 02:11 PM
parrod parrod is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
parrod is on a distinguished road
Default

Is this what you want!!

Code:

<%
for i = 0 to n
if i = selectedValue then
%>
<option value="<%=i%>" selected><%=selectionArray(i)%></option>
<%
else
%>
<option value="<%=i%>"><%=selectionArray(i)%></option>
<%
end if
next
%>

Hope I was of some help -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple DC, Multiple URL Check Tool visioninfotech Google 4 04-08-2007 05:34 AM
timestamp values Wumchi MySQL Forums 1 03-11-2007 07:33 AM
multiple fields issue!! Gillian MySQL Forums 1 08-03-2006 09:28 AM
multiple databases!!! Carissa MySQL Forums 1 08-02-2006 10:53 AM
Counting Values in Array johny PHP Programming and Tips 1 12-07-2005 07:00 AM


All times are GMT. The time now is 09:55 PM.