On Tue, 16 Mar 2004 16:06:13 +0200, "Hakan Dolas" <(E-Mail Removed)> wrote:
¤ Hi,
¤
¤ I have a StoredProcedure that returns a ref cursor and a numeric value.
¤ I want to populate a datatable with the returning cursor, use the numeric
¤ value elsewhere.
¤
¤ What is the method for this ?
¤
¤ I know that handling multiple cursors are easy but one cursor and one
¤ numeric value is a bit confusing..
Haven't tried this but I believe the single value is returned via the output Parameter you have
defined for the Command object.
Also, if you are using a DataReader you must close it first, or, read to the end of the data stream
before the output parameter value is available.
Paul ~~~
(E-Mail Removed)
Microsoft MVP (Visual Basic)