I would like to be able to take options users have selected from two groups of radio buttons, compile and run database query and then add the resulting recordset to a listbox.
All of this without refreshing or changing the current form in any way! I am trying to make the form a little bit smart by making the listbox selection relivant to the options the user has selected from the radio buttons.
ie
1. the user selects an option from both group 1 and group 2
2. the listbox automaticlly updates with the relivant options for the combination of items from group 1 and group 2
Is this possible?
I can add a call to a function on the "onclick" event of all radio buttons but as this function is VBScript, I cant connect to the database. How can I query the database without having to load another form or reresh the current one? ie run ASP code to connect to the database and run the query.
Any advice would be appreciated.
jan
All of this without refreshing or changing the current form in any way! I am trying to make the form a little bit smart by making the listbox selection relivant to the options the user has selected from the radio buttons.
ie
1. the user selects an option from both group 1 and group 2
2. the listbox automaticlly updates with the relivant options for the combination of items from group 1 and group 2
Is this possible?
I can add a call to a function on the "onclick" event of all radio buttons but as this function is VBScript, I cant connect to the database. How can I query the database without having to load another form or reresh the current one? ie run ASP code to connect to the database and run the query.
Any advice would be appreciated.
jan