Hi All
As always any help gratefully received.
I would like some advice calling a stored proc from a vbScript
I have tried several methods
and also
also have tried with without Call statement. No errors returned from the connection object?
Its worth noting that myProc does return 2 values that I dont bother to read since they are not required for the project I am writing.
Any help very appreciated.
Regards ACO
As always any help gratefully received.
I would like some advice calling a stored proc from a vbScript
I have tried several methods
Code:
cnIfmx.BeginTrans
Set cmd.ActiveConnection = cnIfmx
cmd.CommandType() = 4
cmd.CommandText = "CALL sp_myProc (?,?,?,?,?,?,?,?,?,?)"
cmd.Execute
and also
Code:
cnIfmx.BeginTrans
Set cmd.ActiveConnection = cnIfmx
cmd.CommandType() = 4
cmd.CommandText = CALL sp_myProc (" & iSerialNo & ",0,'[URL unfurl="true"]WWW',NULL,NULL,30,NULL,'"[/URL] & strComment & "'," & iEngNo & ",'" & strEngName & "' );"
cmd.Execute
also have tried with without Call statement. No errors returned from the connection object?
Its worth noting that myProc does return 2 values that I dont bother to read since they are not required for the project I am writing.
Any help very appreciated.
Regards ACO