Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ComboBox or <SELECT>

Status
Not open for further replies.

TudorSmith

Programmer
Jan 14, 2002
245
GB
Hi Folks

How do I refresh a DropDown box on an ASP page?

I have three <SELECT> drop downs:

<COMPANY>
<SITE>
<TRADING OUTLET>

At the moment, each <SELECT> is populated form a recordset e.g. "SELECT * FROM tblCompany ORDER BY CompanyName"

The tables are linked i.e. tblSite contains the FK CompanyID and tblTOulet contains the FK SiteID.

So, what I need to accomplish:

When the user selects a comapny, I'd like only the sites belonging to that company to be present in the SITE list. Then, as the user selects the Site, I'd like only those Traing outlets belonging to that site to be present.

Is this do-able in one page or will I need about three pages to accomplish this.

Thanks in advance

Tudor

birklea ~©¿©~ <><
Dim objJedi as Jedi.Knight
Set objJedi[skyWalker].Aniken = FatherOf(useThe.Force(objJedi[skyWalker].luke))
 
there's many of these threads pertaining to the same desired effect, search for keywords on "multiple combo" or "multiple dropdown
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top