Code:
Dim Status_Parm As Parameter
cmd.CommandText = "spAddQuantity"
cmd.CommandType = adCmdStoredProc
Set Status_Parm = cmd.CreateParameter("", adInteger, adParamReturnValue)
cmd.Parameters.Append Status_Parm
cmd.Execute
Given the above code fragment, how do I get a RETURN code that was set in the stored procedure? Sorry about not searching the forum but it is not working.