Hi all,
Hope that somebody can help me with this.
I am developing an application in VB 6, which connects to a SQL 2000 server and executes a store procedure.
The store procedure is selecting the SCOPE_IDENTITY after inserting the record.
If I run the store procedure within SQL, it returns the last record inserted; however when I executed from VB, the record set does not return it.
Does anybody know how to return this value back to VB?
Any help would be appreciated.
Thanks in advance.
Jose.
Hope that somebody can help me with this.
I am developing an application in VB 6, which connects to a SQL 2000 server and executes a store procedure.
The store procedure is selecting the SCOPE_IDENTITY after inserting the record.
If I run the store procedure within SQL, it returns the last record inserted; however when I executed from VB, the record set does not return it.
Does anybody know how to return this value back to VB?
Any help would be appreciated.
Thanks in advance.
Jose.