populate combo box through stored procedure with parameters.

C

Chris

Hi,
I am working on a data access project access 2000.

I have a combo box I want to populate using a stored procedure that accepts
parameters.

combo boxes have row sources but they don't have an input parameter property.
if it did it would be only 2 lines of code.
and since
comboboxname.rowsource = recordset
does not work it looks like:

I have fill a fill a recordset and then loop through it and do additem until
entire record set is finished.

is there an easier way to do this?

thanks
Chris
 
O

Ofer

You can use a pass through query, call the stored procedure with two
parameters.
change the SQL in your query dinamicaly, and then use that query as the
source to your combo.
 
Top