Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 26th, 2005, 08:10 AM
Authorized User
 
Join Date: Jun 2003
Location: Swansea, , United Kingdom.
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Values from a ListBox

Hi,

Ive set up a listbox in an asp page :

<select name="Specialty" size="1"onchange=msgbox"tim">
  <option value="1200">ENT</option>
  <option value="1400">Oral Surgery</option>
  <option value="1010">Urology</option>
  <option value="1000">General Surgery</option>
</select>

What I would like to do is when the user selects an option the corresponding value is passed to a variable :var_spec.

Once this is done, how can I pass this variable to another page which holds a query.

Many Thanks

Tim

Tim
__________________
Tim
Reply With Quote
  #2 (permalink)  
Old August 26th, 2005, 02:49 PM
Authorized User
 
Join Date: Jul 2005
Location: New York, New York, .
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Request.Form("Specialty") should be one of the values....

Reply With Quote
  #3 (permalink)  
Old September 14th, 2005, 10:01 AM
Authorized User
 
Join Date: Jun 2003
Location: Swansea, , United Kingdom.
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Thanks for the reply. Could you be more specific in your reply?

Many thanks

Tim

Tim
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple Listbox values in another listbox terryv Excel VBA 0 June 27th, 2007 07:01 AM
Displaying listbox values.....??? Brettvan1 VB.NET 2002/2003 Basics 4 December 13th, 2004 06:42 PM
Values from a ListBox mrideout BOOK: Beginning ASP.NET 1.0 0 December 1st, 2004 09:53 AM
Getting Values From ListBox DARSIN General .NET 2 October 1st, 2004 02:32 AM
Listbox Values Louisa VB.NET 2002/2003 Basics 1 February 13th, 2004 01:28 PM



All times are GMT -4. The time now is 11:02 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.