Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > Classic ASP

Closed Thread
 
LinkBack Thread Tools
Old January 24th, 2005, 01:16 PM   #1
Highly Reputable Member
 
benbacardi's Avatar
 

Join Date: Feb 2004
Location: United Kingdom
Age: 22
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 benbacardi will become famous soon enough
grabbing data from combo boxes

in microsoft access, you can have a combo box with values from another table in it, for example, a foreign key to link the two tables together. How can i gather this data and put it into a selection box using asp for the web-based interface?

thanks

ben
benbacardi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old January 25th, 2005, 02:37 AM   #2
Highly Reputable Member
 

Join Date: Jul 2003
Location: Ipswich, UK
Posts: 686
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Smokie will become famous soon enough
Try creating a query in access which gets all the data you want, then save the query.

Then in your ASP code, put "SELECT * FROM yourQueryName", then simply loop through the records as normal.

I presume that when you say "selection box" you mean a multiselect list box?
Smokie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old January 25th, 2005, 09:46 AM   #3
Highly Reputable Member
 
benbacardi's Avatar
 

Join Date: Feb 2004
Location: United Kingdom
Age: 22
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 benbacardi will become famous soon enough
no, i mean like a combo box in access, a <select><option>....</option></select> thingy
benbacardi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Bookmarks

Tags
grabbing , data , combo , boxes


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Flash CS3 - Combo Boxes with formulas cocoonfx Flash and ActionScript 0 April 1st, 2008 10:43 PM
Help with IFRAME and grabbing URL tbathgate JavaScript 6 February 28th, 2008 06:17 AM
6-level combo boxes Phoenix1664 JavaScript 2 March 21st, 2007 09:22 AM
How do I add a GO button to these multi combo boxes? Andy K JavaScript 4 July 29th, 2005 04:03 PM
Annoying Linked Combo Boxes!! Hangs Classic ASP 7 May 25th, 2004 03:21 AM


Search Engine Optimization by vBSEO 3.2.0 RC8