A
annie
Hi there,
I am using an Access2K database on its own (i.e not in a project).
I want to make the recordset of a combobox be a stored procedure on
our SQL Server.
The problem is, I cannot set the "rowsource" to "EXEC <my_sp>" as I
there is not the option to select "Table/View/StoredProc" from the
rowsourcetype list. All I have is the usual "Table/Query, Value List,
and Field List". I went and opened a blank ADP and saw that one of the
options was "Table/View/StoredProc".
Other than iterating through a recordset and adding the values
delimited with a ";" I can't think of how to do this. I do not want to
use the Value List option as it can be slow.
If anyone has come across this problem before, I'd love to hear your
solution. Please keep in mind that unless you have an Access Project
file, you cannot use "EXEC sp_name" as the rowsource.
Thanks!
Annie
I am using an Access2K database on its own (i.e not in a project).
I want to make the recordset of a combobox be a stored procedure on
our SQL Server.
The problem is, I cannot set the "rowsource" to "EXEC <my_sp>" as I
there is not the option to select "Table/View/StoredProc" from the
rowsourcetype list. All I have is the usual "Table/Query, Value List,
and Field List". I went and opened a blank ADP and saw that one of the
options was "Table/View/StoredProc".
Other than iterating through a recordset and adding the values
delimited with a ";" I can't think of how to do this. I do not want to
use the Value List option as it can be slow.
If anyone has come across this problem before, I'd love to hear your
solution. Please keep in mind that unless you have an Access Project
file, you cannot use "EXEC sp_name" as the rowsource.
Thanks!
Annie