I am using the ADO command object in VB to access SQL-Server. I set the commandtext property of the command object to a stored procedure call with several undefined parameters, by using a "?" for each of those parameters. This automatically checks the stored procedure and sets up the parameters collection to have the right number of parameters with the correct types.<br>
<br>
However, on certain procedures, the parameters collection gets two parameters for each parameter in my stored procedure, plus an extra one at the begining that is an output parameter call "RETURN_VALUE". I don't know why this happens, but it is keeping me from being able to call the stored procedure correctly.<br>
<br>
Any suggestions?<br>
<br>
Thanks, Steve
<br>
However, on certain procedures, the parameters collection gets two parameters for each parameter in my stored procedure, plus an extra one at the begining that is an output parameter call "RETURN_VALUE". I don't know why this happens, but it is keeping me from being able to call the stored procedure correctly.<br>
<br>
Any suggestions?<br>
<br>
Thanks, Steve