Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 Other Topics
 dynamic drop down selects

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-02-06 : 15:38:43
Jim writes "I want to populate a drop down menu from a table in access which in turn when the user makes a selection will then populate a second drop down menu with related records.

Say I have a list of states and related cities in each state. By choosing a selection from the state drop down list the second drop down list is generated based on that selection.

I can easily populate the first drop down but then the second is the issue. Is this possible.

A side note, I currently use arrays in javascript to do this but the arrays are hard coded in my web page not back ended by a DB. When a user hits their backbutton the array doesn't get refreshed and the city drop down defaults back to the first array sequence. How do refresh the page on the back button click to stop that from happening?

Your help would be greatly appreciated!!!!

- Jim"
   

- Advertisement -