Hi,
I have created a stored procedure in SQL Server and now I want to update a table within Access using the Stored Procedure.
I have searching the web and found this but I get a 3065 runtime error.
Dim qdef As DAO.QueryDef
Set qdef = CurrentDb.CreateQueryDef("")
qdef.Connect = CurrentDb.TableDefs("dbo_Actuals_tbl").Connect
qdef.SQL = "EXEC sp_FinanceExecData1 2015, 9"
qdef.Execute
Any ideas on why and how I can fix it.
Thank you in advance.
John
I have created a stored procedure in SQL Server and now I want to update a table within Access using the Stored Procedure.
I have searching the web and found this but I get a 3065 runtime error.
Dim qdef As DAO.QueryDef
Set qdef = CurrentDb.CreateQueryDef("")
qdef.Connect = CurrentDb.TableDefs("dbo_Actuals_tbl").Connect
qdef.SQL = "EXEC sp_FinanceExecData1 2015, 9"
qdef.Execute
Any ideas on why and how I can fix it.
Thank you in advance.
John