I think that I have managed to resolve what I was trying to do. The background to this, was that when I insert a new record into a table, I wanted to be able to return the new autonumber field (currval from a sequence).
What I have done is written a package that does an insert and then returns me a recordset with the currval field in it.
The trouble was I needed to access this value in C++, and my DB <--> C++ skills on handling returns were not too good, but I know how to handle a recordset!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.