i am executing a stored procedure with this code:
Set com = New ADODB.Command
With com
.ActiveConnection = cnn
.CommandType = adCmdStoredProc
.CommandText = "ex_TimeEntries"
End With
Set rst = New ADODB.Recordset
Set rst = com.Execute
and i get the message "could not find stored procedure "ex_TimeEntries". i don't understand this, as i created the sp myself and it runs fine from the sql code editor. perhaps it is a permissions point.
does anyone have any ideas, please?
thanks
gusset
Set com = New ADODB.Command
With com
.ActiveConnection = cnn
.CommandType = adCmdStoredProc
.CommandText = "ex_TimeEntries"
End With
Set rst = New ADODB.Recordset
Set rst = com.Execute
and i get the message "could not find stored procedure "ex_TimeEntries". i don't understand this, as i created the sp myself and it runs fine from the sql code editor. perhaps it is a permissions point.
does anyone have any ideas, please?
thanks
gusset