Hi - I'm new to this so please bear with me.
I'm generating an HTML table that is populated with values from an Access database. That's working fine. My next step, though, is to dynamically generate the query using values from 3 select boxes. So I need to regenerate the page each time any of the select boxes is changed. Furthermore, I need to scope the 2nd and 3rd select boxes based on the contents of the first, and the 3rd select box based on the contents of the 2nd.
In other words, the first select box basically chooses which Table, the second chooses the Division and the third chooses the Department (based on Division), then the table is generated. My final HTML generating SQL query works fine, I just need to get the right variables into the query depending on whats in the Select boxes. Phew. Sorry for the wordiness
I hope that makes sense. I'm thinking this must be done using a javascript onChange, but perhaps there's a way just using ASP (perhaps using an ASP equivalent of a select box)?
I'm generating an HTML table that is populated with values from an Access database. That's working fine. My next step, though, is to dynamically generate the query using values from 3 select boxes. So I need to regenerate the page each time any of the select boxes is changed. Furthermore, I need to scope the 2nd and 3rd select boxes based on the contents of the first, and the 3rd select box based on the contents of the 2nd.
In other words, the first select box basically chooses which Table, the second chooses the Division and the third chooses the Department (based on Division), then the table is generated. My final HTML generating SQL query works fine, I just need to get the right variables into the query depending on whats in the Select boxes. Phew. Sorry for the wordiness
I hope that makes sense. I'm thinking this must be done using a javascript onChange, but perhaps there's a way just using ASP (perhaps using an ASP equivalent of a select box)?