M
MikeC
I'm trying to use a stored procedure as a row source for a combo box in an
Access 2002 project (ADP). An MSDE 2000 database is the back end. So far,
simple stored procedures work just fine. However, if I enter the stored
procedure together with a parameter, then Access displays a runtime error
telling me that I've misspelled the record source name.
For Example:
Works Fine:
sp_ClassList
Displays Runtime Error:
sp_ClassList @ExcludeClassID = Forms!MyForm!cmbClassID
Is there a way to pass a form's control reference as a parameter in the
combo box's property sheet or can this only be done via code?
I'm certainly not opposed to writing code, but I would like to avoid
spending extra time writing code if there is an easier way to accomplish the
above.
Access 2002 project (ADP). An MSDE 2000 database is the back end. So far,
simple stored procedures work just fine. However, if I enter the stored
procedure together with a parameter, then Access displays a runtime error
telling me that I've misspelled the record source name.
For Example:
Works Fine:
sp_ClassList
Displays Runtime Error:
sp_ClassList @ExcludeClassID = Forms!MyForm!cmbClassID
Is there a way to pass a form's control reference as a parameter in the
combo box's property sheet or can this only be done via code?
I'm certainly not opposed to writing code, but I would like to avoid
spending extra time writing code if there is an easier way to accomplish the
above.