Hi!
Does anyone know what's wrong with this ASP code?
Set objCommand=Server.CreateObject("ADODB.Command"
With objCommand
.ActiveConnection=objConn
.CommandText="{?=CALL dbo.usp_parm_CheckIfEntityExists (' " & Request.Form("company"
& " ',' " & Request.Form("street1"
& " ', ' " & Request.Form("city"
& " ', ' " & Request.Form("state_abbrev"
& " ')}"
.CommandType=adCmdStoredProc
End With
objCommand(0).Direction=adParamReturnValue
objCommand.Execute
Set intReturn=objCommand(0)
Am I passing the strings in correctly?
Or is there a better way to call a parm stored porcedure and accept a return value?
Thanks in advance for any help!!!
Does anyone know what's wrong with this ASP code?
Set objCommand=Server.CreateObject("ADODB.Command"
With objCommand
.ActiveConnection=objConn
.CommandText="{?=CALL dbo.usp_parm_CheckIfEntityExists (' " & Request.Form("company"
.CommandType=adCmdStoredProc
End With
objCommand(0).Direction=adParamReturnValue
objCommand.Execute
Set intReturn=objCommand(0)
Am I passing the strings in correctly?
Or is there a better way to call a parm stored porcedure and accept a return value?
Thanks in advance for any help!!!