entaroadun
Programmer
I want to execute a stored procedure using the ADO command object and get a disconnected recordset. How can I do this?
I don't want to build a SQL string which calls the stored procedure, because I have to be able to retrieve the output values of the parameters. It has to be a command object so I can populate the parameters collection.
I tried opening a recordset off of the command object, but after I do this, I cannot set the ActiveConnection property of the recordset to Nothing (throws an error), and if I set the ActiveConnection property of the command to nothing, the recordset closes on me.
Help!
I don't want to build a SQL string which calls the stored procedure, because I have to be able to retrieve the output values of the parameters. It has to be a command object so I can populate the parameters collection.
I tried opening a recordset off of the command object, but after I do this, I cannot set the ActiveConnection property of the recordset to Nothing (throws an error), and if I set the ActiveConnection property of the command to nothing, the recordset closes on me.
Help!