ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP 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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old May 12th, 2008, 05:56 PM
pat_smith1969 pat_smith1969 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 93 pat_smith1969 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 44 m 50 sec
Reputation Power: 4
Database - Recordset - Using sql query results in a HTML Form Select statement?

So I am building a form in which I wish to have a drop down box that is populated by a SQL select query. I think I know how to do this. You basically put the select statement inside the Form's "select" options using a loop.

I think I can get that done. But I ALSO need the user to be able to enter his/her own text as an option as well. So if the option she is looking for does not appear in the drop down list, she can simply type it into the space.

How do I do this. I did some google searches, but all the examples I found were way to basic for what I need.


Thanks.

Reply With Quote
  #2  
Old May 12th, 2008, 07:32 PM
keep_it_simple's Avatar
keep_it_simple keep_it_simple is offline
KIS
ASP Free Beginner (1000 - 1499 posts)
 
Join Date: Jul 2007
Location: USA
Posts: 1,031 keep_it_simple User rank is Major (30000 - 40000 Reputation Level)keep_it_simple User rank is Major (30000 - 40000 Reputation Level)keep_it_simple User rank is Major (30000 - 40000 Reputation Level)keep_it_simple User rank is Major (30000 - 40000 Reputation Level)keep_it_simple User rank is Major (30000 - 40000 Reputation Level)keep_it_simple User rank is Major (30000 - 40000 Reputation Level)keep_it_simple User rank is Major (30000 - 40000 Reputation Level)keep_it_simple User rank is Major (30000 - 40000 Reputation Level)keep_it_simple User rank is Major (30000 - 40000 Reputation Level)keep_it_simple User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 8 h 12 m 51 sec
Reputation Power: 340
Send a message via Yahoo to keep_it_simple
Quote:
Originally Posted by pat_smith1969
So I am building a form in which I wish to have a drop down box that is populated by a SQL select query. I think I know how to do this. You basically put the select statement inside the Form's "select" options using a loop.

I think I can get that done. But I ALSO need the user to be able to enter his/her own text as an option as well. So if the option she is looking for does not appear in the drop down list, she can simply type it into the space.

How do I do this. I did some google searches, but all the examples I found were way to basic for what I need.


Thanks.


post the code you have thus far...

if it is not in the list you simply add it to list box values in the database upon submission...once we see what you have...we can guide you further
__________________
Please give respect to those that helped solve an issue by clicking on the reputation icon

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Database - Recordset - Using sql query results in a HTML Form Select statement?


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 4 hosted by Hostway