E
Ed
Hi,
I am not sure how i am able to get the return value from a SP
like:
Create procedure testing
@try int
as
If @try = 1
Return 1
else
Return 2
What codes should i use to get the reutrn value?
cmd.Parameters.append cmd.createparameter("@try", adinteger)
....
....
....
msgbox cmd.parameter("@Try")
but I want to answer to be the value from the "Return"(either 1 or 2)
Also, what is the difference between "adParamReturnValue" and "adParamOutput"?
Thanks
Ed
I am not sure how i am able to get the return value from a SP
like:
Create procedure testing
@try int
as
If @try = 1
Return 1
else
Return 2
What codes should i use to get the reutrn value?
cmd.Parameters.append cmd.createparameter("@try", adinteger)
....
....
....
msgbox cmd.parameter("@Try")
but I want to answer to be the value from the "Return"(either 1 or 2)
Also, what is the difference between "adParamReturnValue" and "adParamOutput"?
Thanks
Ed