I'm trying to execute a Stored Procedure from VB. It does not pass any varitables. My connection is already open and is working (sqlCn). Here is my code.
I get an error when it hit the last line of my code.
Runtime Error 214721900(80040e14)
Syntax error or access violation.
Anyone have any suggetions?
What doesn't kill you makes you stronger.
Code:
Dim sqlCM As New ADODB.Command
sqlCM.CommandType = adCmdStoredProc
Set sqlCM.ActiveConnection = sqlCn
sqlCM.CommandText = "dbxx.dbo.update_TEMPx"
Set rs2 = New ADODB.Recordset
Set rs2 = sqlCM.Execute
Runtime Error 214721900(80040e14)
Syntax error or access violation.
Anyone have any suggetions?
What doesn't kill you makes you stronger.