SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 21st, 2000, 01:57 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Dropdown from DB field - parsing contents of field

<i><b>Originally posted by : L Cramer (lawrence@thecramers.com)</b></i><br />What I'm trying to do is, for example in the "size" filed you have....<br /> XS/XL, 2XL,3XL ]<br /><br />What I need to do is parse the contents of the field so the resulting data<br />populated drop-down for field on the web page looks like this....<br /><br />| Choose Size |>|<br /> XS/XL<br /> 2XL<br /> 3XL<br /><br />The user could then select a size and that choice would be sent to the cart<br />page along with the rest of the info. I've seen it done this way and makes<br />it very easy for the site owner to update the record. Dose this clear up<br />what I'm after? I need to do this for the Size and the Color fields.<br /><br />I am developing in Macromedia Dreamweaver UltraDev, if that helps.<br /><br />Thank you very much.<br /><br />Lawrence Cramer<br />lawrence@thecramers.com<br />

Reply With Quote
  #2  
Old July 24th, 2000, 02:41 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Doug Seven (doug.seven@codejunkies.net)</b></i><br /><br />Try this code (change the value of size to be equal to you recordset field):<br /><SELECT><br /><%<br />size = "XS/XL, 2XL, 3XL"<br /> <br />s = Split(size, ", ")<br />for p = 0 to UBound(s)<br /> Response.Write "<OPTION>" & s(p) & "</OPTION>" & vbCrLf<br />next<br />%><br /></SELECT><br /><br />Doug Seven<br />codejunkies.net / ASPNextGen.com (coming soon!)<br /><br />------------<br />L Cramer at 7/21/2000 11:57:44 AM<br /><br />What I'm trying to do is, for example in the "size" filed you have....<br /> XS/XL, 2XL,3XL ]<br /><br />What I need to do is parse the contents of the field so the resulting data<br />populated drop-down for field on the web page looks like this....<br /><br />| Choose Size |>|<br /> XS/XL<br /> 2XL<br /> 3XL<br /><br />The user could then select a size and that choice would be sent to the cart<br />page along with the rest of the info. I've seen it done this way and makes<br />it very easy for the site owner to update the record. Dose this clear up<br />what I'm after? I need to do this for the Size and the Color fields.<br /><br />I am developing in Macromedia Dreamweaver UltraDev, if that helps.<br /><br />Thank you very much.<br /><br />Lawrence Cramer<br />lawrence@thecramers.com<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Dropdown from DB field - parsing contents of field


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT