This is a question regarding MS Access Project 2000/MS SQL 2000.
I have a stored procedure with two parameters param1 and param2. I have a form with two Input Parameters correctly linking to the two textboxes I have on my form. I also have a listbox on the form which is populated by the stored procedure sp1.
My problem is this - I want to update the results displayed in the listbox (as populated by sp1) which relies on the values of tb1 (textbox 1) and tb2 (textbox 2).
My approach has been to use the change event to force a requery on listbox1 (i.e. listbox1.requery) however this doesn't cause the sp1 to refresh.
Any ideas where I'm going wrong?
I have a stored procedure with two parameters param1 and param2. I have a form with two Input Parameters correctly linking to the two textboxes I have on my form. I also have a listbox on the form which is populated by the stored procedure sp1.
My problem is this - I want to update the results displayed in the listbox (as populated by sp1) which relies on the values of tb1 (textbox 1) and tb2 (textbox 2).
My approach has been to use the change event to force a requery on listbox1 (i.e. listbox1.requery) however this doesn't cause the sp1 to refresh.
Any ideas where I'm going wrong?