Linked Comboboxes

Results 1 to 3 of 3

Thread: Linked Comboboxes

  1. #1
    Mark Avrech Guest

    Default Linked Comboboxes

    How can I use ASP to load a combobox from a database table and depending upon the selection, load a second combobox with relevant data???

  2. #2
    Join Date
    Dec 1969

    Default Here it is..

    ..Follow the link to get to the links for Dependent List Boxes.<BR>

  3. #3
    Join Date
    Dec 1969

    Default if you can make sense of this...

    ....<BR>once you have a table with at least two columns of data, one being a subset of the other.<BR>sField1 = main data set<BR>sField2 = subset of sField1<BR>select all distinct values from sField1<BR>fill up the first dropdown<BR>if this is the first time the page is opened set a default value from sField1, for instance, the first recordset retruned.<BR>otherwise the form has been submitted. get the value from the first dropdown and set it to the default value.<BR><BR>select all distinct fields from sField2 where sField1 = default value obtained above.<BR>fill up the second drop down with these values<BR><BR>in the first select box, have an onchange event handler that submits the form. <BR><BR>does this make sense, or did i make you more confused?

Posting Permissions

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