belovedcej
Programmer
I have a stored procedure that provides names based on user entry.
I have a list box that is based on that procedure.
I have a form with three fields, the list box, and a few buttons.
The goal is this:
1. user enters data in any one of the three fields (if the fields are empty they default either zero or zero length strings, depending on type.
2. User presses "Search" button which runs the stored procedure using their values and the list box is populated with results.
3. User can then select on of the options and press another button to assign that person to a claim in three possible different capacities.
3 is no problem for me. and 1 is not difficult - I know how to get the data and store it and even pass it into a stored procedure.
The problem is this - I don't know how to open the form without the list box trying to run. Then the user gets boxes asking for the variables.
Then, when I have the user entered data, I don't know how to indicate that the listbox should refresh using the indicated data for the variables.
Any ideas?
I have a list box that is based on that procedure.
I have a form with three fields, the list box, and a few buttons.
The goal is this:
1. user enters data in any one of the three fields (if the fields are empty they default either zero or zero length strings, depending on type.
2. User presses "Search" button which runs the stored procedure using their values and the list box is populated with results.
3. User can then select on of the options and press another button to assign that person to a claim in three possible different capacities.
3 is no problem for me. and 1 is not difficult - I know how to get the data and store it and even pass it into a stored procedure.
The problem is this - I don't know how to open the form without the list box trying to run. Then the user gets boxes asking for the variables.
Then, when I have the user entered data, I don't know how to indicate that the listbox should refresh using the indicated data for the variables.
Any ideas?