M
Merlinus
A few combo boxes in an Access 2003 / 2007 ADP connecting to SQL Server 2005
/ 2008 are using stored procedures as row source. No problem as long as
Access and SQL Server are on the same machine. If the Access front-end
resides on another machine, dropping down any of the combo boxes displays
this error message:
The record source '<spName>' specified on this form or report does not exist.
The name of the recordsource may be misspelled, the recordsource was deleted
or renamed, or the recordsource exists in a different database.
Double-clicking on the stored procedures under Queries executes them as
expected (so, it's not a permission problem).
This only happens when the stored procedure is assigned via the form's
properties. Parameterized SPs that are assigned to combo boxes in code work
fine.
Stored procedures used in a different context, for example as a record
source for a form, work well.
Does anybody know what could cause this behavior? (If there's no simple fix
I probably can assign the row source for all combo boxes in code).
/ 2008 are using stored procedures as row source. No problem as long as
Access and SQL Server are on the same machine. If the Access front-end
resides on another machine, dropping down any of the combo boxes displays
this error message:
The record source '<spName>' specified on this form or report does not exist.
The name of the recordsource may be misspelled, the recordsource was deleted
or renamed, or the recordsource exists in a different database.
Double-clicking on the stored procedures under Queries executes them as
expected (so, it's not a permission problem).
This only happens when the stored procedure is assigned via the form's
properties. Parameterized SPs that are assigned to combo boxes in code work
fine.
Stored procedures used in a different context, for example as a record
source for a form, work well.
Does anybody know what could cause this behavior? (If there's no simple fix
I probably can assign the row source for all combo boxes in code).