Hello everyone,
I was trying to create a stored procedure that does a very basic function. I want it to populate a dropdown field and then use the selected value from that field to find all the rows that have that column. The reason that I have to use a stored procedure is that the database holds values that are not current as well as those that are current. It has a control bit column that you can give the status of that row for.
Basically, if we have three columns in the table, i need all the options for Column 2 to be in my second dropdown, based on the input of the first dropdown and the 3rd column having a '1' in it to indicate it is relevant information.
Can someone please help me figure out what to do to get my stored procedure to populate the first dropdown so that the second dropdown can be selected?
Thanks for the help