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 November 22nd, 2000, 10:52 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
Multiple Dynamic Listboxes

<i><b>Originally posted by : Arbil (ricky@rickysantos.com)</b></i><br />I have 4 listboxes which gets its value from a database with multiple tables.<br /><br />Upon loading, the 4 dropdown listbox will populate depending on their query statement. This <br /><br />is their initial value and it looks up to table1.<br /><br />Here's the flow of the 4 listboxes:<br /><br />Sales Area---> Sales Office---> Sales District---> Sales Group<br /><br />This flow is according to their level; Sales Group is the last level.<br /><br />If I choose a Sales Area, the 2nd box (Sales Office) will then display all Sales Offices <br /><br />under the chosen Sales Area (this will look up to table2). The page may Refresh on ONCHANGE <br /><br />event but the first box should still display the selected Sales Area and the 2nd box which <br /><br />now contains the list of Sales Offices based on the selected Sales Area.<br /><br />Now if I choose a Sales Office, the 3rd box will display all Sales District of the selected <br /><br />Sales Office (look up again in table2) and still displaying the selected items in the 1st <br /><br />and 2nd listboxes. <br /><br />I've tried several work arounds in this but was not successful enough. I can populate <br /><br />listboxes but dont know what do next once I select from any listbox.<br /><br />Note: There's no unique field between the tables I'm using such as ID's, etc. I just made a <br /><br />Selection from another table based on the selected item from the first table.<br /><br />If you know some site which uses this kind of dynamic listbox selection or have some idea or <br /><br />code, please help me I'll be very thankful.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Multiple Dynamic Listboxes


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