Automation Error During Execution of Stored Procedure Using ADO
When the execute statement below runs an automation error occurs. I have tried it with both stSQL strings defined below.
Dim cnt As ADODB.Connection
Dim rst As ADODB.Recordset
Set cnt = New ADODB.Connection
stSQL = "Proc1"
' stSQL = "exec Proc1"
With cnt
.CursorLocation = adUseClient
.Open stADO
Set rst = .Execute(stSQL, , adCmdStoredProc)
End With
Any ideas?
kedst1

