c2compliant
Programmer
I am attempting to create a function which will retrieve a recordset that contains names from a SQL Server table using a stored procedure. The criteria for what names to retrieve will be passed from a button the user will click. The recordset of names will then be placed in a select object using a loop. <br><br>I would like to be able to call the function each time the user selects a button and the select object will refresh with a list of names. <br><br>1)Can this be achieved on one page and is so how? <br><br>2)Or is there a way to do this without having to make multiple trips to the server (returning the entire unfiltered recordset of names and then sorting them after a user clicks a button and refreshing the select object)?