Dependent dropdowns

Results 1 to 2 of 2

Thread: Dependent dropdowns

  1. #1
    Join Date
    Dec 1969

    Default Dependent dropdowns

    I need som code to make two dropdowns.<BR>I have one table with about 4000 records (SQL2K)<BR>The first combo (cboCountry) is for Countries<BR>Select distinct Country from tbl...<BR>In the second combo (cboCity) I want cities from the country choosen in first combo., like <BR>"select distinct City from tbl... where Country=request.form cboCountry"<BR>The problem is I have to submit the first choise before the second can be performed.<BR>Then I want to have a datalist of names in the chosen city.<BR>Any suggestions?<BR>Best regards<BR>ReidarT

  2. #2
    Join Date
    Dec 1969

    Default See old post

    Funnily enough, I had the EXACT same problem the other day. A quick search of the forums found this *excellent* post from Bill:<BR><BR><BR><BR>With a bit of tweaking I had my page up in no time!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts